whisperv6: I think this part return nil will be better clean.

This commit is contained in:
DavidYang 2018-05-24 16:09:08 +07:00 committed by GitHub
parent 420c3ee70f
commit 468fe47104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -442,7 +442,6 @@ func (w *Whisper) Send(envelope *Envelope) error {
if !ok { if !ok {
return fmt.Errorf("failed to add envelope") return fmt.Errorf("failed to add envelope")
} }
// I think this part return nil will be better clean.
return nil return nil
} }