Change iteration over connection decoding to abort after the first error, and let the UnknownPeersError know which peer was unknown

This commit is contained in:
Bryan Boreham committed 2014-09-16 09:32:53 +01:00
1 parent 1748b6e790
commit 978d374820
3 files changed
+17 -14

No files matched your search

+1
View File
@@ -123,6 +123,7 @@ type FrameTooBigError struct {
}
type UnknownPeersError struct {
Name PeerName
}
type NameCollisionError struct {