I think this part return nil will be better clean

This commit is contained in:
DavidYang 2018-05-24 14:01:45 +07:00 committed by GitHub
parent 55b579e02c
commit 420c3ee70f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -442,7 +442,8 @@ func (w *Whisper) Send(envelope *Envelope) error {
if !ok {
return fmt.Errorf("failed to add envelope")
}
return err
// I think this part return nil will be better clean.
return nil
}
// Start implements node.Service, starting the background data propagation thread