Explorar el Código

p2p: fix value of DiscSubprotocolError

We had the wrong value (12) since forever.
Felix Lange hace 10 años
padre
commit
0d10d5a0a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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{