aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv5/gen_criteria_json.go
diff options
context:
space:
mode:
authorEgon Elbre <egonelbre@gmail.com>2017-08-08 19:48:06 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-08-08 19:48:06 +0800
commitd375193797e8198a82c6a1796064ffb289c6956e (patch)
treee725c3f2b03367933e4832bb603458b0c9bce500 /whisper/whisperv5/gen_criteria_json.go
parent374c49e0ac0f636eb37a31833f91f28ad1859750 (diff)
downloadgo-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.gz
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.bz2
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.lz
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.xz
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.zst
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.zip
whisper: fix megacheck warnings (#14925)
* whisper: fix megacheck warnings * whisper/whisperv5: regenerate json codec to fix unused override type
Diffstat (limited to 'whisper/whisperv5/gen_criteria_json.go')
-rw-r--r--whisper/whisperv5/gen_criteria_json.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/whisper/whisperv5/gen_criteria_json.go b/whisper/whisperv5/gen_criteria_json.go
index 8d3e9ee24..df0de85df 100644
--- a/whisper/whisperv5/gen_criteria_json.go
+++ b/whisper/whisperv5/gen_criteria_json.go
@@ -8,6 +8,8 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil"
)
+var _ = (*criteriaOverride)(nil)
+
func (c Criteria) MarshalJSON() ([]byte, error) {
type Criteria struct {
SymKeyID string `json:"symKeyID"`