mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 11:31:02 +00:00
p2p: make DiscReason bigger than byte
We decode into [1]DiscReason in a few places. That doesn't work anymore because package rlp no longer accepts RLP lists for byte arrays.
This commit is contained in:
parent
4d5a518a0b
commit
9c7281c17e
@ -57,7 +57,7 @@ func (self *peerError) Error() string {
|
||||
return self.message
|
||||
}
|
||||
|
||||
type DiscReason byte
|
||||
type DiscReason uint
|
||||
|
||||
const (
|
||||
DiscRequested DiscReason = iota
|
||||
|
Loading…
Reference in New Issue
Block a user