rpc: fix CodeHash
type error on build (#100)
This commit is contained in:
parent
0c6e44d3d3
commit
16cb56d270
@ -951,7 +951,7 @@ func (e *PublicEthAPI) GetProof(address common.Address, storageKeys []string, bl
|
|||||||
Address: address,
|
Address: address,
|
||||||
AccountProof: []string{accProofStr},
|
AccountProof: []string{accProofStr},
|
||||||
Balance: (*hexutil.Big)(balance),
|
Balance: (*hexutil.Big)(balance),
|
||||||
CodeHash: common.BytesToHash(res.CodeHash),
|
CodeHash: common.HexToHash(res.CodeHash),
|
||||||
Nonce: hexutil.Uint64(res.Nonce),
|
Nonce: hexutil.Uint64(res.Nonce),
|
||||||
StorageHash: common.Hash{}, // NOTE: Ethermint doesn't have a storage hash. TODO: implement?
|
StorageHash: common.Hash{}, // NOTE: Ethermint doesn't have a storage hash. TODO: implement?
|
||||||
StorageProof: storageProofs,
|
StorageProof: storageProofs,
|
||||||
|
Loading…
Reference in New Issue
Block a user