Added proper error message

poc8
obscuren 11 years ago
parent 2ea05292c0
commit e5b97fe03e
  1. 4
      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

Loading…
Cancel
Save