From 18e57b078ef9214b3abc27bc0980b0e7eaddc8f4 Mon Sep 17 00:00:00 2001
From: Wei-Ning Huang <w@dexon.org>
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')

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