aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-26 10:28:42 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commit18e57b078ef9214b3abc27bc0980b0e7eaddc8f4 (patch)
tree70788b265624666d19bb8b51d4e49180d9943670 /internal
parentf5e29152b2b8113f3c205c197952d826ccc729ae (diff)
downloadgo-tangerine-18e57b078ef9214b3abc27bc0980b0e7eaddc8f4.tar
go-tangerine-18e57b078ef9214b3abc27bc0980b0e7eaddc8f4.tar.gz
go-tangerine-18e57b078ef9214b3abc27bc0980b0e7eaddc8f4.tar.bz2
go-tangerine-18e57b078ef9214b3abc27bc0980b0e7eaddc8f4.tar.lz
go-tangerine-18e57b078ef9214b3abc27bc0980b0e7eaddc8f4.tar.xz
go-tangerine-18e57b078ef9214b3abc27bc0980b0e7eaddc8f4.tar.zst
go-tangerine-18e57b078ef9214b3abc27bc0980b0e7eaddc8f4.zip
dex: return round in get block rpc output
Diffstat (limited to 'internal')
-rw-r--r--internal/ethapi/api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go
index edfc2e8b5..f8af995f4 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -895,6 +895,7 @@ func RPCMarshalBlock(b *types.Block, inclTx bool, fullTx bool) (map[string]inter
"transactionsRoot": head.TxHash,
"receiptsRoot": head.ReceiptHash,
"randomness": hexutil.Bytes(head.Randomness),
+ "round": hexutil.Uint64(head.Round),
"dexconMeta": hexutil.Bytes(head.DexconMeta),
}