rpc: fix JSON-RPC block extraData (#204)

This commit is contained in:
Jongwhan Lee
2021-06-29 11:05:12 -04:00
committed by GitHub
parent 336703cfc9
commit a2e3d35df2
+1 -1
View File
@@ -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),