good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3083ec5e authored by Péter Szilágyi's avatar Péter Szilágyi
Browse files

eth/downloader: silence "Added N blocks from..." if N == 0

parent d74ee40c
No related branches found
No related tags found
No related merge requests found
...@@ -415,7 +415,7 @@ out: ...@@ -415,7 +415,7 @@ out:
peer.Demote() peer.Demote()
break 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) glog.Infof("Added %d blocks from: %s\n", len(blockPack.blocks), blockPack.peerId)
} }
// Promote the peer and update it's idle state // Promote the peer and update it's idle state
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment