aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-08-12 20:15:54 +0800
committerFelix Lange <fjl@twurst.com>2015-08-12 20:15:54 +0800
commit0d10d5a0a5e5d25fac1b609281b1981e698b62c9 (patch)
tree183681a0edbc7e337dd0bdcba78f048a7b4a6fce
parent05c66529b2c22fba20c55a69c4817395c532d4c8 (diff)
downloaddexon-0d10d5a0a5e5d25fac1b609281b1981e698b62c9.tar
dexon-0d10d5a0a5e5d25fac1b609281b1981e698b62c9.tar.gz
dexon-0d10d5a0a5e5d25fac1b609281b1981e698b62c9.tar.bz2
dexon-0d10d5a0a5e5d25fac1b609281b1981e698b62c9.tar.lz
dexon-0d10d5a0a5e5d25fac1b609281b1981e698b62c9.tar.xz
dexon-0d10d5a0a5e5d25fac1b609281b1981e698b62c9.tar.zst
dexon-0d10d5a0a5e5d25fac1b609281b1981e698b62c9.zip
p2p: fix value of DiscSubprotocolError
We had the wrong value (12) since forever.
-rw-r--r--p2p/peer_error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/peer_error.go b/p2p/peer_error.go
index b1762a6ee..62c7b665d 100644
--- a/p2p/peer_error.go
+++ b/p2p/peer_error.go
@@ -66,7 +66,7 @@ const (
DiscUnexpectedIdentity
DiscSelf
DiscReadTimeout
- DiscSubprotocolError
+ DiscSubprotocolError = 0x10
)
var discReasonToString = [...]string{