mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 09:50:45 +00:00
Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
parent
ee1807b75c
commit
3fcd30adfe
2 changed files with 2 additions and 2 deletions
|
|
@ -654,7 +654,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
|
||||||
"to": msg.To,
|
"to": msg.To,
|
||||||
}
|
}
|
||||||
if len(msg.Data) > 0 {
|
if len(msg.Data) > 0 {
|
||||||
arg["data"] = hexutil.Bytes(msg.Data)
|
arg["input"] = hexutil.Bytes(msg.Data)
|
||||||
}
|
}
|
||||||
if msg.Value != nil {
|
if msg.Value != nil {
|
||||||
arg["value"] = (*hexutil.Big)(msg.Value)
|
arg["value"] = (*hexutil.Big)(msg.Value)
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
|
||||||
"to": msg.To,
|
"to": msg.To,
|
||||||
}
|
}
|
||||||
if len(msg.Data) > 0 {
|
if len(msg.Data) > 0 {
|
||||||
arg["data"] = hexutil.Bytes(msg.Data)
|
arg["input"] = hexutil.Bytes(msg.Data)
|
||||||
}
|
}
|
||||||
if msg.Value != nil {
|
if msg.Value != nil {
|
||||||
arg["value"] = (*hexutil.Big)(msg.Value)
|
arg["value"] = (*hexutil.Big)(msg.Value)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue