aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/block.go
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-10-25 17:54:24 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commit218edbb4b4116b6f5e5707c5c89b8a346f47300d (patch)
treec24b07addef9c024c2de8c912a89632f4da023ec /core/types/block.go
parentdcb706ee7a9a497527dff649d8cf7d37a1d8fb2d (diff)
downloadgo-tangerine-218edbb4b4116b6f5e5707c5c89b8a346f47300d.tar.gz
go-tangerine-218edbb4b4116b6f5e5707c5c89b8a346f47300d.tar.zst
go-tangerine-218edbb4b4116b6f5e5707c5c89b8a346f47300d.zip
core: types: fix header marshal json
Diffstat (limited to 'core/types/block.go')
-rw-r--r--core/types/block.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/types/block.go b/core/types/block.go
index 68346acaa..73537b517 100644
--- a/core/types/block.go
+++ b/core/types/block.go
@@ -101,6 +101,8 @@ type headerMarshaling struct {
GasUsed hexutil.Uint64
Time hexutil.Uint64
Extra hexutil.Bytes
+ Randomness hexutil.Bytes
+ DexconMeta hexutil.Bytes
Hash common.Hash `json:"hash"` // adds call to Hash() in MarshalJSON
}