diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-27 08:07:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-27 08:07:03 +0800 |
commit | 70867904a0255bd044851585a9ad2dc34391ced2 (patch) | |
tree | 9c5dfc6a9b8944c37f874a81cc9f8fd3d697ad4e /eth/downloader/downloader.go | |
parent | ceea1a7051ddc7d2660117204aeb3392b7cf8314 (diff) | |
parent | 2c532a7255919bc09e01cca6866bfc15682509a3 (diff) | |
download | go-tangerine-0.9.25.tar go-tangerine-0.9.25.tar.gz go-tangerine-0.9.25.tar.bz2 go-tangerine-0.9.25.tar.lz go-tangerine-0.9.25.tar.xz go-tangerine-0.9.25.tar.zst go-tangerine-0.9.25.zip |
Merge branch 'release/0.9.25'v0.9.25
Diffstat (limited to 'eth/downloader/downloader.go')
-rw-r--r-- | eth/downloader/downloader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 0634baaed..421c336f2 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -415,7 +415,7 @@ out: peer.Demote() break } - if glog.V(logger.Debug) { + if glog.V(logger.Debug) && len(blockPack.blocks) > 0 { glog.Infof("Added %d blocks from: %s\n", len(blockPack.blocks), blockPack.peerId) } // Promote the peer and update it's idle state |