aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gen_btheader.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gen_btheader.go')
-rw-r--r--tests/gen_btheader.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gen_btheader.go b/tests/gen_btheader.go
index 1be659ecb..1e25765c4 100644
--- a/tests/gen_btheader.go
+++ b/tests/gen_btheader.go
@@ -47,8 +47,8 @@ func (b btHeader) MarshalJSON() ([]byte, error) {
enc.UncleHash = b.UncleHash
enc.ExtraData = b.ExtraData
enc.Difficulty = (*math.HexOrDecimal256)(b.Difficulty)
- enc.GasLimit = (math.HexOrDecimal64)(b.GasLimit)
- enc.GasUsed = (math.HexOrDecimal64)(b.GasUsed)
+ enc.GasLimit = math.HexOrDecimal64(b.GasLimit)
+ enc.GasUsed = math.HexOrDecimal64(b.GasUsed)
enc.Timestamp = (*math.HexOrDecimal256)(b.Timestamp)
return json.Marshal(&enc)
}