Skip to content

Commit

Permalink
always fetch from pool on followers
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Sep 19, 2024
1 parent 3741259 commit 85fef6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/scroll_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ func (w *worker) processTxPool() (bool, error) {

pending := w.pendingTxns
// if we have pending txns left from the last block, we should try to include them
if pending == nil {
if pending == nil || !w.isRunning() {
// Fill the block with all available pending transactions.
pending = w.eth.TxPool().PendingWithMax(false, w.config.MaxAccountsNum)
}
Expand Down

0 comments on commit 85fef6a

Please sign in to comment.