Skip to content

Commit fa37595

Browse files
gluk256fjl
authored andcommitted
whisper/whisperv6: delete unused function (#16234)
1 parent 5ad7b91 commit fa37595

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

whisper/whisperv6/filter.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -191,20 +191,6 @@ func (fs *Filters) NotifyWatchers(env *Envelope, p2pMessage bool) {
191191
}
192192
}
193193

194-
func (f *Filter) processEnvelope(env *Envelope) *ReceivedMessage {
195-
if f.MatchEnvelope(env) {
196-
msg := env.Open(f)
197-
if msg != nil {
198-
return msg
199-
}
200-
201-
log.Trace("processing envelope: failed to open", "hash", env.Hash().Hex())
202-
} else {
203-
log.Trace("processing envelope: does not match", "hash", env.Hash().Hex())
204-
}
205-
return nil
206-
}
207-
208194
func (f *Filter) expectsAsymmetricEncryption() bool {
209195
return f.KeyAsym != nil
210196
}

0 commit comments

Comments
 (0)