Skip to content

Commit

Permalink
removed user data
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlavanet committed Aug 26, 2024
1 parent 2749c5a commit 1e2beaf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion protocol/rpcconsumer/rpcconsumer_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,6 @@ func (rpccs *RPCConsumerServer) sendDataReliabilityRelayIfApplicable(ctx context
}
relayResult := results[0]
if len(results) < 2 {
userData := chainMessage.GetUserData()
relayRequestData := lavaprotocol.NewRelayData(ctx, relayResult.Request.RelayData.ConnectionType, relayResult.Request.RelayData.ApiUrl, relayResult.Request.RelayData.Data, relayResult.Request.RelayData.SeenBlock, reqBlock, relayResult.Request.RelayData.ApiInterface, chainMessage.GetRPCMessage().GetHeaders(), relayResult.Request.RelayData.Addon, relayResult.Request.RelayData.Extensions)
// We create new protocol message from the old one, but with a new instance of relay request data.
protocolMessage := chainlib.NewProtocolMessage(chainMessage, nil, relayRequestData)

Check failure on line 1244 in protocol/rpcconsumer/rpcconsumer_server.go

View workflow job for this annotation

GitHub Actions / lint

not enough arguments in call to chainlib.NewProtocolMessage

Check failure on line 1244 in protocol/rpcconsumer/rpcconsumer_server.go

View workflow job for this annotation

GitHub Actions / lint

not enough arguments in call to chainlib.NewProtocolMessage

Check failure on line 1244 in protocol/rpcconsumer/rpcconsumer_server.go

View workflow job for this annotation

GitHub Actions / lint

not enough arguments in call to chainlib.NewProtocolMessage

Check failure on line 1244 in protocol/rpcconsumer/rpcconsumer_server.go

View workflow job for this annotation

GitHub Actions / lint

not enough arguments in call to chainlib.NewProtocolMessage

Check failure on line 1244 in protocol/rpcconsumer/rpcconsumer_server.go

View workflow job for this annotation

GitHub Actions / test-protocol

not enough arguments in call to chainlib.NewProtocolMessage

Check failure on line 1244 in protocol/rpcconsumer/rpcconsumer_server.go

View workflow job for this annotation

GitHub Actions / test-protocol

not enough arguments in call to chainlib.NewProtocolMessage

Check failure on line 1244 in protocol/rpcconsumer/rpcconsumer_server.go

View workflow job for this annotation

GitHub Actions / test-protocol-e2e

not enough arguments in call to chainlib.NewProtocolMessage
Expand Down

0 comments on commit 1e2beaf

Please sign in to comment.