aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv5/gen_newmessage_json.go
diff options
context:
space:
mode:
Diffstat (limited to 'whisper/whisperv5/gen_newmessage_json.go')
-rw-r--r--whisper/whisperv5/gen_newmessage_json.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/whisper/whisperv5/gen_newmessage_json.go b/whisper/whisperv5/gen_newmessage_json.go
index 0231cd919..d0a47185e 100644
--- a/whisper/whisperv5/gen_newmessage_json.go
+++ b/whisper/whisperv5/gen_newmessage_json.go
@@ -8,6 +8,8 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil"
)
+var _ = (*newMessageOverride)(nil)
+
func (n NewMessage) MarshalJSON() ([]byte, error) {
type NewMessage struct {
SymKeyID string `json:"symKeyID"`