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 /peer.go | |
parent | dad29bcaa12d7b170d81a9f5a44a5faa119bd210 (diff) | |
download | dexon-61cc2ba7d960b2e82886223b78190d552529cb12.tar dexon-61cc2ba7d960b2e82886223b78190d552529cb12.tar.gz dexon-61cc2ba7d960b2e82886223b78190d552529cb12.tar.bz2 dexon-61cc2ba7d960b2e82886223b78190d552529cb12.tar.lz dexon-61cc2ba7d960b2e82886223b78190d552529cb12.tar.xz dexon-61cc2ba7d960b2e82886223b78190d552529cb12.tar.zst dexon-61cc2ba7d960b2e82886223b78190d552529cb12.zip |
fixed
Diffstat (limited to 'peer.go')
-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 |