aboutsummaryrefslogtreecommitdiff
path: root/internal/ethapi/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ethapi/api.go')
-rw-r--r--internal/ethapi/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go
index 77efcab..cb1b4bd 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -1162,7 +1162,7 @@ func RPCMarshalBlock(block *types.Block, inclTx bool, fullTx bool) (map[string]i
fields["size"] = hexutil.Uint64(block.Size())
if len(block.ExtraData()) != 0 {
- fields["blockExtraData"] = hexutil.Encode(block.ExtraData())
+ fields["blockExtraData"] = block.ExtraData()
}
if inclTx {