Parcourir la source

p2p: fix value of DiscSubprotocolError

We had the wrong value (12) since forever.
Felix Lange il y a 10 ans
Parent
commit
0d10d5a0a5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      p2p/peer_error.go

+ 1 - 1
p2p/peer_error.go

@@ -66,7 +66,7 @@ const (
 	DiscUnexpectedIdentity
 	DiscSelf
 	DiscReadTimeout
-	DiscSubprotocolError
+	DiscSubprotocolError = 0x10
 )
 
 var discReasonToString = [...]string{