Prevent peer stop crash by removing logging
This commit is contained in:
parent
771f64397f
commit
1b40f69ce5
1
peer.go
1
peer.go
@ -571,7 +571,6 @@ func (p *Peer) Stop() {
|
|||||||
|
|
||||||
// Pre-emptively remove the peer; don't wait for reaping. We already know it's dead if we are here
|
// Pre-emptively remove the peer; don't wait for reaping. We already know it's dead if we are here
|
||||||
p.ethereum.RemovePeer(p)
|
p.ethereum.RemovePeer(p)
|
||||||
ethutil.Config.Log.Debugln("[PEER] Stopped peer:", p.conn.RemoteAddr())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *Peer) pushHandshake() error {
|
func (p *Peer) pushHandshake() error {
|
||||||
|
Loading…
Reference in New Issue
Block a user