mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
p2p: fixes for actual connections
The unit test hooks were turned on 'in production'.
This commit is contained in:
@@ -123,7 +123,7 @@ func discReasonForError(err error) DiscReason {
|
||||
return DiscProtocolError
|
||||
case errPingTimeout:
|
||||
return DiscReadTimeout
|
||||
case errRead, errWrite, errMisc:
|
||||
case errRead, errWrite:
|
||||
return DiscNetworkError
|
||||
default:
|
||||
return DiscSubprotocolError
|
||||
|
||||
Reference in New Issue
Block a user