Skip to content

Commit

Permalink
fix(txpool): basefee requires mintip to not be nil. (taikoxyz#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
johntaiko authored and lwedge99 committed Sep 23, 2024
1 parent 3266d98 commit 37cde02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/taiko_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (w *worker) BuildTransactionsLists(
}

// Check if tx pool is empty at first.
if len(w.eth.TxPool().Pending(txpool.PendingFilter{BaseFee: uint256.MustFromBig(baseFee), OnlyPlainTxs: true})) == 0 {
if len(w.eth.TxPool().Pending(txpool.PendingFilter{MinTip: uint256.NewInt(minTip), BaseFee: uint256.MustFromBig(baseFee), OnlyPlainTxs: true})) == 0 {
return txsLists, nil
}

Expand Down

0 comments on commit 37cde02

Please sign in to comment.