diff options
author | Felix Lange <fjl@twurst.com> | 2015-02-07 07:13:22 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-02-07 07:43:52 +0800 |
commit | e34d1341022a51d8a86c4836c91e4e0ded888d27 (patch) | |
tree | 35dacd9390e6181803329f8c5c7d1cb076ba0128 /p2p/peer_error.go | |
parent | 8564eb9f7efcc7a0e639f6a45d7e67037fedac5f (diff) | |
download | dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.gz dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.bz2 dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.lz dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.xz dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.zst dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.zip |
p2p: fixes for actual connections
The unit test hooks were turned on 'in production'.
Diffstat (limited to 'p2p/peer_error.go')
-rw-r--r-- | p2p/peer_error.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/peer_error.go b/p2p/peer_error.go index 9133768f9..0ff4f4b43 100644 --- a/p2p/peer_error.go +++ b/p2p/peer_error.go @@ -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 |