aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-18 19:00:22 +0800
committerobscuren <geffobscura@gmail.com>2014-07-18 19:00:22 +0800
commit61cc2ba7d960b2e82886223b78190d552529cb12 (patch)
tree760737d4ca104df4d669f5659cd607e7eaa1f477 /peer.go
parentdad29bcaa12d7b170d81a9f5a44a5faa119bd210 (diff)
downloadgo-tangerine-61cc2ba7d960b2e82886223b78190d552529cb12.tar
go-tangerine-61cc2ba7d960b2e82886223b78190d552529cb12.tar.gz
go-tangerine-61cc2ba7d960b2e82886223b78190d552529cb12.tar.bz2
go-tangerine-61cc2ba7d960b2e82886223b78190d552529cb12.tar.lz
go-tangerine-61cc2ba7d960b2e82886223b78190d552529cb12.tar.xz
go-tangerine-61cc2ba7d960b2e82886223b78190d552529cb12.tar.zst
go-tangerine-61cc2ba7d960b2e82886223b78190d552529cb12.zip
fixed
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