Skip to content

Commit

Permalink
arg["input"]
Browse files Browse the repository at this point in the history
  • Loading branch information
JukLee0ira committed Aug 3, 2024
1 parent 09e45c6 commit fa4c4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethclient/ethclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
"to": msg.To,
}
if len(msg.Data) > 0 {
arg["data"] = hexutil.Bytes(msg.Data)
arg["input"] = hexutil.Bytes(msg.Data)
}
if msg.Value != nil {
arg["value"] = (*hexutil.Big)(msg.Value)
Expand Down

0 comments on commit fa4c4c6

Please sign in to comment.