Merge pull request #1647 from fjl/fix-disc-reason
p2p: fix value of DiscSubprotocolError
This commit is contained in:
commit
0dd6911c62
|
@ -66,7 +66,7 @@ const (
|
||||||
DiscUnexpectedIdentity
|
DiscUnexpectedIdentity
|
||||||
DiscSelf
|
DiscSelf
|
||||||
DiscReadTimeout
|
DiscReadTimeout
|
||||||
DiscSubprotocolError
|
DiscSubprotocolError = 0x10
|
||||||
)
|
)
|
||||||
|
|
||||||
var discReasonToString = [...]string{
|
var discReasonToString = [...]string{
|
||||||
|
|
Loading…
Reference in New Issue