aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gen_tttransaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gen_tttransaction.go')
-rw-r--r--tests/gen_tttransaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gen_tttransaction.go b/tests/gen_tttransaction.go
index 840bdfdd8..dfdb042fc 100644
--- a/tests/gen_tttransaction.go
+++ b/tests/gen_tttransaction.go
@@ -28,7 +28,7 @@ func (t ttTransaction) MarshalJSON() ([]byte, error) {
}
var enc ttTransaction
enc.Data = t.Data
- enc.GasLimit = (math.HexOrDecimal64)(t.GasLimit)
+ enc.GasLimit = math.HexOrDecimal64(t.GasLimit)
enc.GasPrice = (*math.HexOrDecimal256)(t.GasPrice)
enc.Nonce = math.HexOrDecimal64(t.Nonce)
enc.Value = (*math.HexOrDecimal256)(t.Value)