whisper/whisperv6: delete unused function (#16234)

pull/16239/merge
gluk256 7 years ago committed by Felix Lange
parent 5ad7b9123c
commit fa375955ad
  1. 14
      whisper/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 { func (f *Filter) expectsAsymmetricEncryption() bool {
return f.KeyAsym != nil return f.KeyAsym != nil
} }

Loading…
Cancel
Save