mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-27 16:17:22 +00:00
Prevent peer stop crash by removing logging
This commit is contained in:
parent
771f64397f
commit
1b40f69ce5
1 changed files with 0 additions and 1 deletions
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
|
||||
p.ethereum.RemovePeer(p)
|
||||
ethutil.Config.Log.Debugln("[PEER] Stopped peer:", p.conn.RemoteAddr())
|
||||
}
|
||||
|
||||
func (p *Peer) pushHandshake() error {
|
||||
|
|
|
|||
Loading…
Reference in a new issue