From 61cc2ba7d960b2e82886223b78190d552529cb12 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 18 Jul 2014 13:00:22 +0200 Subject: [PATCH] fixed --- peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer.go b/peer.go index a900a3192..89032364e 100644 --- a/peer.go +++ b/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 // the peer has nothing left to give p.catchingUp = false