forked from forks/go-ethereum
Update ethclient/gethclient/gethclient.go
This commit is contained in:
parent
a1d7410f17
commit
3c7bc5553e
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
|
|||
"to": msg.To,
|
||||
}
|
||||
if len(msg.Data) > 0 {
|
||||
arg["input"] = hexutil.Bytes(msg.Data)
|
||||
arg["data"] = hexutil.Bytes(msg.Data)
|
||||
}
|
||||
if msg.Value != nil {
|
||||
arg["value"] = (*hexutil.Big)(msg.Value)
|
||||
|
|
|
|||
Loading…
Reference in a new issue