Skip to content

Commit d3474df

Browse files
JulianVenturaJulian Ventura
andauthored
aggregator initialize new task with window (#1498)
Co-authored-by: Julian Ventura <[email protected]>
1 parent 81b0c50 commit d3474df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aggregator/pkg/aggregator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ func (agg *Aggregator) AddNewTask(batchMerkleRoot [32]byte, senderAddress [20]by
393393
quorumNums := eigentypes.QuorumNums{eigentypes.QuorumNum(QUORUM_NUMBER)}
394394
quorumThresholdPercentages := eigentypes.QuorumThresholdPercentages{eigentypes.QuorumThresholdPercentage(QUORUM_THRESHOLD)}
395395

396-
err := agg.blsAggregationService.InitializeNewTask(batchIndex, taskCreatedBlock, quorumNums, quorumThresholdPercentages, agg.AggregatorConfig.Aggregator.BlsServiceTaskTimeout)
396+
err := agg.blsAggregationService.InitializeNewTaskWithWindow(batchIndex, taskCreatedBlock, quorumNums, quorumThresholdPercentages, agg.AggregatorConfig.Aggregator.BlsServiceTaskTimeout, 15*time.Second)
397397
if err != nil {
398398
agg.logger.Fatalf("BLS aggregation service error when initializing new task: %s", err)
399399
}

0 commit comments

Comments
 (0)