mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update ethclient.go
This commit is contained in:
parent
fc5084814c
commit
51be7fc912
1 changed files with 1 additions and 8 deletions
|
|
@ -663,14 +663,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
|
|||
arg["maxPriorityFeePerGas"] = (*hexutil.Big)(msg.GasTipCap)
|
||||
}
|
||||
if msg.AccessList != nil {
|
||||
accessListArg := make([]map[string]interface{}, len(msg.AccessList))
|
||||
for i, access := range msg.AccessList {
|
||||
accessListArg[i] = map[string]interface{}{
|
||||
"address": access.Address,
|
||||
"storageKeys": access.StorageKeys,
|
||||
}
|
||||
}
|
||||
arg["accessList"] = accessListArg
|
||||
arg["accessList"] = msg.AccessList
|
||||
}
|
||||
return arg
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue