We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83886e4 commit 5cf53f5Copy full SHA for 5cf53f5
ethclient/ethclient.go
@@ -619,7 +619,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
619
"to": msg.To,
620
}
621
if len(msg.Data) > 0 {
622
- arg["data"] = hexutil.Bytes(msg.Data)
+ arg["input"] = hexutil.Bytes(msg.Data)
623
624
if msg.Value != nil {
625
arg["value"] = (*hexutil.Big)(msg.Value)
ethclient/gethclient/gethclient.go
@@ -225,7 +225,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
225
226
227
228
229
230
231
0 commit comments