From 70c41f077178ab14d5301d66742398550f18d5f2 Mon Sep 17 00:00:00 2001 From: gluk256 Date: Sat, 3 Mar 2018 00:54:15 +0100 Subject: [PATCH] whisper/whisperv6: delete unused function (#16234) --- whisperv6/filter.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/whisperv6/filter.go b/whisperv6/filter.go index e4171f8..2f170dd 100644 --- a/whisperv6/filter.go +++ b/whisperv6/filter.go @@ -191,20 +191,6 @@ func (fs *Filters) NotifyWatchers(env *Envelope, p2pMessage bool) { } } -func (f *Filter) processEnvelope(env *Envelope) *ReceivedMessage { - if f.MatchEnvelope(env) { - msg := env.Open(f) - if msg != nil { - return msg - } - - log.Trace("processing envelope: failed to open", "hash", env.Hash().Hex()) - } else { - log.Trace("processing envelope: does not match", "hash", env.Hash().Hex()) - } - return nil -} - func (f *Filter) expectsAsymmetricEncryption() bool { return f.KeyAsym != nil }