aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/gen_receipt_json.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/types/gen_receipt_json.go')
-rw-r--r--core/types/gen_receipt_json.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/types/gen_receipt_json.go b/core/types/gen_receipt_json.go
index 520966874..1c9d8af93 100644
--- a/core/types/gen_receipt_json.go
+++ b/core/types/gen_receipt_json.go
@@ -10,6 +10,8 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil"
)
+var _ = (*receiptMarshaling)(nil)
+
func (r Receipt) MarshalJSON() ([]byte, error) {
type Receipt struct {
PostState hexutil.Bytes `json:"root"`