aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
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