aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--peer.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index 7b17b8b09..926d34eb3 100644
--- a/peer.go
+++ b/peer.go
@@ -293,7 +293,9 @@ func (p *Peer) HandleInbound() {
err = p.ethereum.BlockManager.ProcessBlock(block)
if err != nil {
- log.Println("bckmsg", err)
+ if ethutil.Config.Debug {
+ log.Printf("[PEER] Block (%x) err %v", block.Hash()[:4], err)
+ }
break
} else {
lastBlock = block