From 2c38bf1bfb209424d5e5567f395268a90be9c58f Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Fri, 26 Oct 2018 10:28:42 +0800 Subject: dex: return round in get block rpc output --- internal/ethapi/api.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/ethapi') 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), } -- cgit v1.2.3