diff options
author | Egon Elbre <egonelbre@gmail.com> | 2017-08-08 19:48:06 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-08-08 19:48:06 +0800 |
commit | d375193797e8198a82c6a1796064ffb289c6956e (patch) | |
tree | e725c3f2b03367933e4832bb603458b0c9bce500 /whisper/whisperv5/gen_criteria_json.go | |
parent | 374c49e0ac0f636eb37a31833f91f28ad1859750 (diff) | |
download | go-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.go | 2 |
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"` |