Commit e5b97fe0 authored by obscuren's avatar obscuren

Added proper error message

parent 2ea05292
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment