Added proper error message

pull/150/head
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) err = p.ethereum.BlockManager.ProcessBlock(block)
if err != nil { if err != nil {
log.Println("bckmsg", err) if ethutil.Config.Debug {
log.Printf("[PEER] Block (%x) err %v", block.Hash()[:4], err)
}
break break
} else { } else {
lastBlock = block lastBlock = block

Loading…
Cancel
Save