mirror of https://github.com/status-im/op-geth.git
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
|
DiscUnexpectedIdentity
|
||||||
DiscSelf
|
DiscSelf
|
||||||
DiscReadTimeout
|
DiscReadTimeout
|
||||||
DiscSubprotocolError = 0x10
|
DiscSubprotocolError = DiscReason(0x10)
|
||||||
)
|
)
|
||||||
|
|
||||||
var discReasonToString = [...]string{
|
var discReasonToString = [...]string{
|
||||||
|
|
Loading…
Reference in New Issue