Update addblock for ProcessBlock behavior flags.
This commit is contained in:
parent
48c6806b24
commit
59731e552b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue