We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15daebf commit b8d9b39Copy full SHA for b8d9b39
node/node.go
@@ -711,7 +711,7 @@ func (n *Node) Dispatch() error {
711
}
712
713
// Start P2P connections
714
- err := n.Net.Dispatch()
+ retErr := n.Net.Dispatch()
715
716
// If the P2P server isn't running, shut down the node.
717
// If node is already shutting down, this does not tigger shutdown again,
@@ -737,7 +737,7 @@ func (n *Node) Dispatch() error {
737
)
738
739
740
- return err
+ return retErr
741
742
743
/*
0 commit comments