diff --git a/blockchain/utxocache.go b/blockchain/utxocache.go index b6ad0bd765..07dc698a91 100644 --- a/blockchain/utxocache.go +++ b/blockchain/utxocache.go @@ -634,6 +634,10 @@ func (b *BlockChain) InitConsistentState(tip *blockNode, interrupt <-chan struct // it to the tip since we checked it's consistent. s.lastFlushHash = tip.hash + // Set the last flush time as now since we know the state is consistent + // at this time. + s.lastFlushTime = time.Now() + return nil }