diff --git a/blockchain/utxocache.go b/blockchain/utxocache.go index af7a3b7b6f..d6a9f7eaa0 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 }