Commit 61cc2ba7 authored by obscuren's avatar obscuren

fixed

parent dad29bca
...@@ -413,7 +413,7 @@ func (p *Peer) HandleInbound() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment