This commit is contained in:
obscuren 2014-07-18 13:00:22 +02:00
parent dad29bcaa1
commit 61cc2ba7d9
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ func (p *Peer) HandleInbound() {
}
}
if msg.Data.Len() == 0 {
if msg.Data.Len() <= 1 {
// Set catching up to false if
// the peer has nothing left to give
p.catchingUp = false