diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-26 10:28:42 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:52 +0800 |
commit | 2c38bf1bfb209424d5e5567f395268a90be9c58f (patch) | |
tree | fed14ec9029d2e77f2525b46173ac4d4f6934554 /internal/ethapi/api.go | |
parent | adb92b903b733e739e3c8ceff33cf0814f0dda31 (diff) | |
download | dexon-2c38bf1bfb209424d5e5567f395268a90be9c58f.tar dexon-2c38bf1bfb209424d5e5567f395268a90be9c58f.tar.gz dexon-2c38bf1bfb209424d5e5567f395268a90be9c58f.tar.bz2 dexon-2c38bf1bfb209424d5e5567f395268a90be9c58f.tar.lz dexon-2c38bf1bfb209424d5e5567f395268a90be9c58f.tar.xz dexon-2c38bf1bfb209424d5e5567f395268a90be9c58f.tar.zst dexon-2c38bf1bfb209424d5e5567f395268a90be9c58f.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 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), } |