diff options
author | Felix Lange <fjl@twurst.com> | 2015-08-12 20:15:54 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-08-12 20:15:54 +0800 |
commit | 0d10d5a0a5e5d25fac1b609281b1981e698b62c9 (patch) | |
tree | 183681a0edbc7e337dd0bdcba78f048a7b4a6fce /p2p/peer_error.go | |
parent | 05c66529b2c22fba20c55a69c4817395c532d4c8 (diff) | |
download | dexon-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.
Diffstat (limited to 'p2p/peer_error.go')
-rw-r--r-- | p2p/peer_error.go | 2 |
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{ |