mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 00:53:47 +00:00
Added proper error message
This commit is contained in:
parent
2ea05292c0
commit
e5b97fe03e
1 changed files with 3 additions and 1 deletions
4
peer.go
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…
Reference in a new issue