Remove a couple of error logs that are not needed.
This commit is contained in:
parent
829f187e47
commit
e5eaaee91c
1 changed files with 0 additions and 2 deletions
|
@ -36,7 +36,6 @@ func (b *BlockChain) maybeAcceptBlock(block *btcutil.Block) error {
|
|||
blockHeader := block.MsgBlock().Header
|
||||
expectedDifficulty, err := b.calcNextRequiredDifficulty(prevNode, block)
|
||||
if err != nil {
|
||||
log.Errorf("calcNextRequiredDifficulty: %v", err)
|
||||
return err
|
||||
}
|
||||
blockDifficulty := blockHeader.Bits
|
||||
|
@ -151,7 +150,6 @@ func (b *BlockChain) maybeAcceptBlock(block *btcutil.Block) error {
|
|||
// also handles validation of the transaction scripts.
|
||||
err = b.connectBestChain(newNode, block)
|
||||
if err != nil {
|
||||
log.Errorf("connectBestChain: %v", err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue