mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 00:39:26 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue