mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-27 08:07:22 +00:00
Update nonce field
This commit is contained in:
parent
b6f0b40037
commit
1045015a3c
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ func NewBlockRes(block *types.Block, fullTx bool) *BlockRes {
|
|||
res.BlockNumber = newHexNum(block.Number())
|
||||
res.BlockHash = newHexData(block.Hash())
|
||||
res.ParentHash = newHexData(block.ParentHash())
|
||||
res.Nonce = newHexData(block.Header().Nonce)
|
||||
res.Nonce = newHexData(block.Nonce())
|
||||
res.Sha3Uncles = newHexData(block.Header().UncleHash)
|
||||
res.LogsBloom = newHexData(block.Bloom())
|
||||
res.TransactionRoot = newHexData(block.Header().TxHash)
|
||||
|
|
|
|||
Loading…
Reference in a new issue