forked from cerc-io/laconicd-deprecated
evm: return valid nonce on eth_getBlockByNumber
(#156)
This commit is contained in:
parent
62fe3d7e80
commit
b5ea5bf6b9
@ -183,7 +183,7 @@ func FormatBlock(
|
||||
"number": hexutil.Uint64(header.Height),
|
||||
"hash": hexutil.Bytes(header.Hash()),
|
||||
"parentHash": hexutil.Bytes(header.LastBlockID.Hash),
|
||||
"nonce": hexutil.Uint64(0), // PoW specific
|
||||
"nonce": ethtypes.BlockNonce{}, // PoW specific
|
||||
"sha3Uncles": ethtypes.EmptyUncleHash, // No uncles in Tendermint
|
||||
"logsBloom": bloom,
|
||||
"stateRoot": hexutil.Bytes(header.AppHash),
|
||||
|
Loading…
Reference in New Issue
Block a user