diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-18 19:00:22 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-18 19:00:22 +0800 |
commit | 61cc2ba7d960b2e82886223b78190d552529cb12 (patch) | |
tree | 760737d4ca104df4d669f5659cd607e7eaa1f477 | |
parent | dad29bcaa12d7b170d81a9f5a44a5faa119bd210 (diff) | |
download | go-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
-rw-r--r-- | peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |