forked from cerc-io/plugeth
Update nonce field
This commit is contained in:
parent
b6f0b40037
commit
1045015a3c
@ -136,7 +136,7 @@ func NewBlockRes(block *types.Block, fullTx bool) *BlockRes {
|
|||||||
res.BlockNumber = newHexNum(block.Number())
|
res.BlockNumber = newHexNum(block.Number())
|
||||||
res.BlockHash = newHexData(block.Hash())
|
res.BlockHash = newHexData(block.Hash())
|
||||||
res.ParentHash = newHexData(block.ParentHash())
|
res.ParentHash = newHexData(block.ParentHash())
|
||||||
res.Nonce = newHexData(block.Header().Nonce)
|
res.Nonce = newHexData(block.Nonce())
|
||||||
res.Sha3Uncles = newHexData(block.Header().UncleHash)
|
res.Sha3Uncles = newHexData(block.Header().UncleHash)
|
||||||
res.LogsBloom = newHexData(block.Bloom())
|
res.LogsBloom = newHexData(block.Bloom())
|
||||||
res.TransactionRoot = newHexData(block.Header().TxHash)
|
res.TransactionRoot = newHexData(block.Header().TxHash)
|
||||||
|
Loading…
Reference in New Issue
Block a user