We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 661bd45 + 71c4afe commit 26688a3Copy full SHA for 26688a3
ethclient/ethclient.go
@@ -647,7 +647,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
647
"to": msg.To,
648
}
649
if len(msg.Data) > 0 {
650
- arg["input"] = hexutil.Bytes(msg.Data)
+ arg["data"] = hexutil.Bytes(msg.Data)
651
652
if msg.Value != nil {
653
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