aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 23:48:53 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 23:48:53 +0800
commit1045015a3c8df048d80c0f66598a8a8fa09b2f71 (patch)
tree0fedb01a87f55d29840d841c566bbe6268e62ff5 /rpc
parentb6f0b400375dfe3ae1ada954f14fa15155163f1e (diff)
downloadgo-tangerine-1045015a3c8df048d80c0f66598a8a8fa09b2f71.tar
go-tangerine-1045015a3c8df048d80c0f66598a8a8fa09b2f71.tar.gz
go-tangerine-1045015a3c8df048d80c0f66598a8a8fa09b2f71.tar.bz2
go-tangerine-1045015a3c8df048d80c0f66598a8a8fa09b2f71.tar.lz
go-tangerine-1045015a3c8df048d80c0f66598a8a8fa09b2f71.tar.xz
go-tangerine-1045015a3c8df048d80c0f66598a8a8fa09b2f71.tar.zst
go-tangerine-1045015a3c8df048d80c0f66598a8a8fa09b2f71.zip
Update nonce field
Diffstat (limited to 'rpc')
-rw-r--r--rpc/responses.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/responses.go b/rpc/responses.go
index 172a0902f..bf4f518aa 100644
--- a/rpc/responses.go
+++ b/rpc/responses.go
@@ -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)