diff options
author | Felix Lange <fjl@twurst.com> | 2015-08-13 03:20:21 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-08-13 03:20:21 +0800 |
commit | 0dd6911c6222ce65d6aa0760f7c322246464b2d0 (patch) | |
tree | 3bb74d026ae824968bb5af6d9916e5d7de466cf5 | |
parent | 28feafe7af6e8c77da116802472ff1f103cb2779 (diff) | |
parent | 0d10d5a0a5e5d25fac1b609281b1981e698b62c9 (diff) | |
download | dexon-0dd6911c6222ce65d6aa0760f7c322246464b2d0.tar dexon-0dd6911c6222ce65d6aa0760f7c322246464b2d0.tar.gz dexon-0dd6911c6222ce65d6aa0760f7c322246464b2d0.tar.bz2 dexon-0dd6911c6222ce65d6aa0760f7c322246464b2d0.tar.lz dexon-0dd6911c6222ce65d6aa0760f7c322246464b2d0.tar.xz dexon-0dd6911c6222ce65d6aa0760f7c322246464b2d0.tar.zst dexon-0dd6911c6222ce65d6aa0760f7c322246464b2d0.zip |
Merge pull request #1647 from fjl/fix-disc-reason
p2p: fix value of DiscSubprotocolError
-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{ |