Skip to content

Commit c69037d

Browse files
committed
comment
1 parent 5803b44 commit c69037d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎block/internal/syncing/da_retriever.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ func (r *daRetriever) tryDecodeHeader(bz []byte, daHeight uint64) *types.SignedH
289289
}
290290
}
291291
if r.strictMode && !isValidEnvelope {
292+
// no need to print warnings, as tryDecodeHeader could try to decode data first, which will show this warning.
292293
r.logger.Debug().Msg("strict mode: rejecting block that is not a fully valid envelope")
293294
return nil
294295
}

0 commit comments

Comments
 (0)