Prevent peer stop crash by removing logging

This commit is contained in:
Maran 2014-06-10 14:59:38 +02:00
parent 771f64397f
commit 1b40f69ce5

View File

@ -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 {