mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-20 14:59:26 +00:00
fixed
This commit is contained in:
parent
dad29bcaa1
commit
61cc2ba7d9
1 changed files with 1 additions and 1 deletions
2
peer.go
2
peer.go
|
|
@ -413,7 +413,7 @@ func (p *Peer) HandleInbound() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if msg.Data.Len() == 0 {
|
if msg.Data.Len() <= 1 {
|
||||||
// Set catching up to false if
|
// Set catching up to false if
|
||||||
// the peer has nothing left to give
|
// the peer has nothing left to give
|
||||||
p.catchingUp = false
|
p.catchingUp = false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue