Skip to content

Commit 501e265

Browse files
committed
minor change
1 parent 019163f commit 501e265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/orchestrator/committer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (c *Committer) cleanupStrandedBlocks() error {
9292
return nil
9393
}
9494

95-
// Get block numbers from PostgreSQL that are less than or equal to the latest committed block
95+
// Get block numbers from PostgreSQL that are less than latest committed block
9696
psqlBlockNumbers, err := c.storage.StagingStorage.(*storage.PostgresConnector).GetBlockNumbersLessThan(c.rpc.GetChainID(), latestCommittedBlockNumber)
9797
if err != nil {
9898
return fmt.Errorf("error getting block numbers from PostgreSQL: %v", err)
@@ -231,7 +231,7 @@ func (c *Committer) getBlockNumbersToCommit(ctx context.Context) ([]*big.Int, er
231231
}
232232
}
233233

234-
// Get block numbers from PostgreSQL that are less than or equal to the latest committed block
234+
// Get block numbers from PostgreSQL that are less than latest committed block
235235
psqlBlockNumbers, err := c.storage.StagingStorage.(*storage.PostgresConnector).GetBlockNumbersLessThan(c.rpc.GetChainID(), latestCommittedBlockNumber)
236236
if err != nil {
237237
return nil, fmt.Errorf("error getting block numbers from PostgreSQL: %v", err)

0 commit comments

Comments
 (0)