aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/gen_tx_json.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/types/gen_tx_json.go')
-rw-r--r--core/types/gen_tx_json.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/types/gen_tx_json.go b/core/types/gen_tx_json.go
index a82822c36..035c26540 100644
--- a/core/types/gen_tx_json.go
+++ b/core/types/gen_tx_json.go
@@ -11,6 +11,8 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil"
)
+var _ = (*txdataMarshaling)(nil)
+
func (t txdata) MarshalJSON() ([]byte, error) {
type txdata struct {
AccountNonce hexutil.Uint64 `json:"nonce" gencodec:"required"`