Update addblock for ProcessBlock behavior flags.

This commit is contained in:
Dave Collins 2014-06-26 17:41:40 -05:00
parent 48c6806b24
commit 59731e552b

View file

@ -120,7 +120,7 @@ func (bi *blockImporter) processBlock(serializedBlock []byte) (bool, error) {
// Ensure the blocks follows all of the chain rules and match up to the
// known checkpoints.
isOrphan, err := bi.chain.ProcessBlock(block, true)
isOrphan, err := bi.chain.ProcessBlock(block, btcchain.BFFastAdd)
if err != nil {
return false, err
}