Skip to content

Commit

Permalink
miner: reset ctx before commit transactions in main loop
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 committed Feb 4, 2025
1 parent d1219ff commit b135d2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ func (w *worker) mainLoop() {

tcount := w.current.tcount

w.interruptCtx = resetAndCopyInterruptCtx(w.interruptCtx)
w.commitTransactions(w.current, plainTxs, blobTxs, nil, new(uint256.Int))

// Only update the snapshot if any new transactons were added
Expand Down

0 comments on commit b135d2b

Please sign in to comment.