Remove a couple of error logs that are not needed.

This commit is contained in:
Dave Collins 2013-07-29 22:31:05 -05:00
parent 829f187e47
commit e5eaaee91c

View file

@ -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
}