diff options
author | Maran <maran.hidskes@gmail.com> | 2014-03-24 17:56:52 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-03-24 17:56:52 +0800 |
commit | ec6ec62dd4f3c4132c79b33fc20467ba98c16f10 (patch) | |
tree | 50a87162834b8921601bdeda785985da884c5821 /peer.go | |
parent | 97786d03d57e1ca79e34ce5fd9aa172c61c3e665 (diff) | |
download | go-tangerine-ec6ec62dd4f3c4132c79b33fc20467ba98c16f10.tar go-tangerine-ec6ec62dd4f3c4132c79b33fc20467ba98c16f10.tar.gz go-tangerine-ec6ec62dd4f3c4132c79b33fc20467ba98c16f10.tar.bz2 go-tangerine-ec6ec62dd4f3c4132c79b33fc20467ba98c16f10.tar.lz go-tangerine-ec6ec62dd4f3c4132c79b33fc20467ba98c16f10.tar.xz go-tangerine-ec6ec62dd4f3c4132c79b33fc20467ba98c16f10.tar.zst go-tangerine-ec6ec62dd4f3c4132c79b33fc20467ba98c16f10.zip |
Remove some xtra logs
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -316,7 +316,7 @@ func (p *Peer) HandleInbound() { // 4. No: Let's request more blocks back. // Make sure we are actually receiving anything - if msg.Data.Len()-1 > 1 { + if msg.Data.Len()-1 > 1 && p.catchingUp { // We requested blocks and now we need to make sure we have a common ancestor somewhere in these blocks so we can find // common ground to start syncing from lastBlock = ethchain.NewBlockFromRlpValue(msg.Data.Get(msg.Data.Len() - 1)) |