mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
I think this part return nil will be better clean
This commit is contained in:
parent
55b579e02c
commit
420c3ee70f
1 changed files with 2 additions and 1 deletions
|
|
@ -442,7 +442,8 @@ 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")
|
||||||
}
|
}
|
||||||
return err
|
// I think this part return nil will be better clean.
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start implements node.Service, starting the background data propagation thread
|
// Start implements node.Service, starting the background data propagation thread
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue