Skip to content

Commit 0d10d5a

Browse files
committed
p2p: fix value of DiscSubprotocolError
We had the wrong value (12) since forever.
1 parent 05c6652 commit 0d10d5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎p2p/peer_error.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const (
6666
DiscUnexpectedIdentity
6767
DiscSelf
6868
DiscReadTimeout
69-
DiscSubprotocolError
69+
DiscSubprotocolError = 0x10
7070
)
7171

7272
var discReasonToString = [...]string{

0 commit comments

Comments
 (0)