diff --git a/pkg/protocol/engine/mempool/v1/mempool.go b/pkg/protocol/engine/mempool/v1/mempool.go index f1585c4d9..b5d06f484 100644 --- a/pkg/protocol/engine/mempool/v1/mempool.go +++ b/pkg/protocol/engine/mempool/v1/mempool.go @@ -198,7 +198,7 @@ func (m *MemPool[VoteRank]) Evict(slot iotago.SlotIndex) { }) } - maxCommittableAge := m.apiProvider.CurrentAPI().ProtocolParameters().MaxCommittableAge() + maxCommittableAge := m.apiProvider.APIForSlot(slot).ProtocolParameters().MaxCommittableAge() if slot <= maxCommittableAge { return }