mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 19:40:36 +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
|
return self.message
|
||||||
}
|
}
|
||||||
|
|
||||||
type DiscReason byte
|
type DiscReason uint
|
||||||
|
|
||||||
const (
|
const (
|
||||||
DiscRequested DiscReason = iota
|
DiscRequested DiscReason = iota
|
||||||
|
Loading…
Reference in New Issue
Block a user