mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
p2p: fix type of DiscSubprotocolError (#24747)
It was 'int' accidentally, should be DiscReason instead.
This commit is contained in:
parent
fb801d8837
commit
63972e7548
@ -69,7 +69,7 @@ const (
|
||||
DiscUnexpectedIdentity
|
||||
DiscSelf
|
||||
DiscReadTimeout
|
||||
DiscSubprotocolError = 0x10
|
||||
DiscSubprotocolError = DiscReason(0x10)
|
||||
)
|
||||
|
||||
var discReasonToString = [...]string{
|
||||
|
Loading…
Reference in New Issue
Block a user