Ver Fonte

p2p: fix value of DiscSubprotocolError

We had the wrong value (12) since forever.
Felix Lange há 10 anos atrás
pai
commit
0d10d5a0a5
1 ficheiros alterados com 1 adições e 1 exclusões
  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{