Skip to content

Commit bb4f511

Browse files
committed
chore: fix linting
1 parent cc61206 commit bb4f511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

block/internal/executing/executor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ func (e *Executor) produceBlock() error {
386386
// Force-included txs (from DA) MUST be validated as they're from untrusted sources
387387
// Mempool txs can skip validation as they were validated when added to mempool
388388
ctx := e.ctx
389-
if batchData != nil && batchData.Batch != nil && batchData.Batch.ForceIncludedMask != nil {
390-
ctx = coreexecutor.WithForceIncludedMask(ctx, batchData.Batch.ForceIncludedMask)
389+
if batchData != nil && batchData.Batch != nil && batchData.ForceIncludedMask != nil {
390+
ctx = coreexecutor.WithForceIncludedMask(ctx, batchData.ForceIncludedMask)
391391
}
392392

393393
newState, err := e.applyBlock(ctx, header.Header, data)

0 commit comments

Comments
 (0)