Skip to content

Commit ba627eb

Browse files
committed
fix logic
1 parent e6b84a2 commit ba627eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup/internal/controller/blob_uploader/blob_uploader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func (b *BlobUploader) GetFirstUnuploadedBatchByPlatform(ctx context.Context, st
240240
break
241241
}
242242

243-
if len(batch.CommitTxHash) == 0 {
243+
if batchIndex > 0 && len(batch.CommitTxHash) == 0 {
244244
log.Debug("got batch not committed for blob uploading", "batch_index", batchIndex, "platform", platform.String())
245245
return nil, nil
246246
}

0 commit comments

Comments
 (0)