forked from cerc-io/laconicd-deprecated
rpc: fix JSON-RPC block extraData (#204)
This commit is contained in:
parent
336703cfc9
commit
a2e3d35df2
@ -186,7 +186,7 @@ func FormatBlock(
|
||||
"miner": common.Address{},
|
||||
"mixHash": common.Hash{},
|
||||
"difficulty": (*hexutil.Big)(big.NewInt(0)),
|
||||
"extraData": hexutil.Uint64(0),
|
||||
"extraData": "",
|
||||
"size": hexutil.Uint64(size),
|
||||
"gasLimit": hexutil.Uint64(gasLimit), // Static gas limit
|
||||
"gasUsed": (*hexutil.Big)(gasUsed),
|
||||
|
Loading…
Reference in New Issue
Block a user