diff options
author | bas-vk <bas-vk@users.noreply.github.com> | 2017-03-29 17:59:13 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-03-29 17:59:13 +0800 |
commit | baf20010e72e31a34e0e2f7c58ccb8135e388b83 (patch) | |
tree | 54b42fc25af3ce6774c3d514b4cc6ccf33dc7e75 /core/types/transaction.go | |
parent | 16afb5c468856d9d047de2c770e008a55d593ffc (diff) | |
download | go-tangerine-baf20010e72e31a34e0e2f7c58ccb8135e388b83.tar.gz go-tangerine-baf20010e72e31a34e0e2f7c58ccb8135e388b83.tar.zst go-tangerine-baf20010e72e31a34e0e2f7c58ccb8135e388b83.zip |
core/types: rename txdata.gasLimit -> txdata.gas in JSON (#13848)
Diffstat (limited to 'core/types/transaction.go')
-rw-r--r-- | core/types/transaction.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/transaction.go b/core/types/transaction.go index ee2f25b52..3945684a1 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -57,7 +57,7 @@ type Transaction struct { type txdata struct { AccountNonce uint64 `json:"nonce"` Price *big.Int `json:"gasPrice"` - GasLimit *big.Int `json:"gasLimit"` + GasLimit *big.Int `json:"gas"` Recipient *common.Address `json:"to" optional:"yes" rlp:"nil"` // nil means contract creation Amount *big.Int `json:"value"` Payload []byte `json:"input"` |