diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-26 10:28:42 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 061b01e5cfebe19b9fbea31c6a5c8dbd1c1c368e (patch) | |
tree | e90d8ba6704129856575338a954d121ab87010e2 /internal/ethapi/api.go | |
parent | f1efcb07ec8083f832e65bf35d8d687214f095d4 (diff) | |
download | dexon-061b01e5cfebe19b9fbea31c6a5c8dbd1c1c368e.tar dexon-061b01e5cfebe19b9fbea31c6a5c8dbd1c1c368e.tar.gz dexon-061b01e5cfebe19b9fbea31c6a5c8dbd1c1c368e.tar.bz2 dexon-061b01e5cfebe19b9fbea31c6a5c8dbd1c1c368e.tar.lz dexon-061b01e5cfebe19b9fbea31c6a5c8dbd1c1c368e.tar.xz dexon-061b01e5cfebe19b9fbea31c6a5c8dbd1c1c368e.tar.zst dexon-061b01e5cfebe19b9fbea31c6a5c8dbd1c1c368e.zip |
dex: return round in get block rpc output
Diffstat (limited to 'internal/ethapi/api.go')
-rw-r--r-- | internal/ethapi/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 9390f5327..bd76d5e79 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -886,6 +886,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), } |