diff --git a/pkg/protocol/engine/tipselection/v1/tip_selection.go b/pkg/protocol/engine/tipselection/v1/tip_selection.go index 600f96f6e..e3e4a323e 100644 --- a/pkg/protocol/engine/tipselection/v1/tip_selection.go +++ b/pkg/protocol/engine/tipselection/v1/tip_selection.go @@ -187,6 +187,9 @@ func (t *TipSelection) classifyTip(tipMetadata tipmanager.TipMetadata) { tipMetadata.TipPool().Set(tipmanager.DroppedTipPool) } + t.livenessThresholdQueueMutex.RLock() + defer t.livenessThresholdQueueMutex.RUnlock() + t.livenessThresholdQueue.Push(tipMetadata, tipMetadata.Block().IssuingTime().Add(t.livenessThreshold(tipMetadata))) }