Skip to content

Commit

Permalink
godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
srene committed Nov 25, 2024
1 parent 25a70d8 commit d2da355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/retriever.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (m *Manager) ApplyBatchFromSL(slBatch *settlement.Batch) error {

m.logger.Debug("retrieved batches", "n", len(batchResp.Batches), "daHeight", slBatch.MetaData.DA.Height)

// if batch blocks have already been applied skip.
// if batch blocks have already been applied skip, otherwise it will fail in endheight validation (it can happen when syncing from blocksync in parallel).
if m.State.Height() > slBatch.EndHeight {
return nil
}
Expand Down

0 comments on commit d2da355

Please sign in to comment.