Skip to content

Commit b05f780

Browse files
committed
feedback
1 parent 1d5cf4c commit b05f780

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

block/internal/syncing/da_retriever.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ func (r *DARetriever) RetrieveFromDA(ctx context.Context, daHeight uint64) ([]co
7777
events := r.processBlobs(ctx, blobsResp.Data, daHeight)
7878
return events, nil
7979

80-
} else if strings.Contains(fetchErr.Error(), coreda.ErrHeightFromFuture.Error()) {
80+
}
81+
82+
if strings.Contains(fetchErr.Error(), coreda.ErrHeightFromFuture.Error()) {
8183
return nil, fmt.Errorf("%w: height from future", coreda.ErrHeightFromFuture)
8284
}
8385

0 commit comments

Comments
 (0)