diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-30 14:03:22 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | bed3b0b6dd9eb86dd8e6d100904e7299446585f5 (patch) | |
tree | 9e99daebeb15c6d4c3c531740015f9e229d5e556 /internal | |
parent | 26153cdebdc3c49f6f71537e94297a4f3a0ce07c (diff) | |
download | dexon-bed3b0b6dd9eb86dd8e6d100904e7299446585f5.tar dexon-bed3b0b6dd9eb86dd8e6d100904e7299446585f5.tar.gz dexon-bed3b0b6dd9eb86dd8e6d100904e7299446585f5.tar.bz2 dexon-bed3b0b6dd9eb86dd8e6d100904e7299446585f5.tar.lz dexon-bed3b0b6dd9eb86dd8e6d100904e7299446585f5.tar.xz dexon-bed3b0b6dd9eb86dd8e6d100904e7299446585f5.tar.zst dexon-bed3b0b6dd9eb86dd8e6d100904e7299446585f5.zip |
core: fix blockReward serialization
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ethapi/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 0f93071b7..d1563db6e 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -885,10 +885,10 @@ func RPCMarshalBlock(b *types.Block, inclTx bool, fullTx bool) (map[string]inter "timestamp": (*hexutil.Big)(head.Time), "transactionsRoot": head.TxHash, "receiptsRoot": head.ReceiptHash, + "reward": (*hexutil.Big)(head.Reward), "randomness": hexutil.Bytes(head.Randomness), "round": hexutil.Uint64(head.Round), "dexconMeta": hexutil.Bytes(head.DexconMeta), - "blockReward": (*hexutil.Big)(head.BlockReward), } if inclTx { |