diff --git a/p2p/peer_error.go b/p2p/peer_error.go index aad1a65c7..302868504 100644 --- a/p2p/peer_error.go +++ b/p2p/peer_error.go @@ -69,7 +69,7 @@ const ( DiscUnexpectedIdentity DiscSelf DiscReadTimeout - DiscSubprotocolError = 0x10 + DiscSubprotocolError = DiscReason(0x10) ) var discReasonToString = [...]string{