This commit is contained in:
obscuren committed 2014-07-18 13:00:22 +02:00
1 parent dad29bcaa1
commit 61cc2ba7d9
1 file changed
+1 -1
+1 -1
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