Files
go-ethereum/p2p
Felix Lange 836c647bdd eth: unregister peer only when handler exits (#22908)
This removes the error log message that says 

    Ethereum peer removal failed ... err="peer not registered"

The error happened because removePeer was called multiple
times: once to disconnect the peer, and another time when the
handler exited. With this change, removePeer now has the sole
purpose of disconnecting the peer. Unregistering happens exactly
once, when the handler exits.
2021-05-25 22:20:36 +02:00
..
2020-02-13 11:10:03 +01:00
2021-02-18 18:54:29 +02:00
2020-02-13 11:10:03 +01:00
2020-02-13 11:10:03 +01:00