mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
support ok chain call
This commit is contained in:
parent
83e70aa3d0
commit
e79c96b2bb
1 changed files with 1 additions and 0 deletions
|
|
@ -651,6 +651,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
|
|||
}
|
||||
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