Set precalc finished on sync for early start
This commit is contained in:
parent
c1486efa7d
commit
4de201775d
|
@ -917,6 +917,7 @@ func (c *SideChain) updateChainTip(block *PoolBlock) {
|
|||
c.server.UpdateTip(block)
|
||||
|
||||
if isAlternative {
|
||||
c.precalcFinished.Store(true)
|
||||
c.derivationCache.Clear()
|
||||
|
||||
log.Printf("[SideChain] SYNCHRONIZED to tip %s", block.SideTemplateId(c.Consensus()))
|
||||
|
|
Loading…
Reference in a new issue