diff --git a/packages/agents/lighthouse/src/tasks/prover/operations/publisher.ts b/packages/agents/lighthouse/src/tasks/prover/operations/publisher.ts index d6cd5ee062..5878e62eab 100644 --- a/packages/agents/lighthouse/src/tasks/prover/operations/publisher.ts +++ b/packages/agents/lighthouse/src/tasks/prover/operations/publisher.ts @@ -235,7 +235,7 @@ export const enqueue = async () => { if (!_baseAggregateRootCount) { throw new NoAggregateRootCount(snapshot.baseAggregateRoot); } - aggregateRootCount = snapshot.roots.length + _baseAggregateRootCount!; + aggregateRootCount = snapshot.roots.length + _baseAggregateRootCount; messageRootIndex = _baseAggregateRootCount + domainIndex; }