forked from cerc-io/plugeth
Added proper error message
This commit is contained in:
parent
2ea05292c0
commit
e5b97fe03e
4
peer.go
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…
Reference in New Issue
Block a user