Skip to content

Commit

Permalink
miner: disable enforceTip when get txs from txpool (ethereum#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinglin89 authored Nov 7, 2022
1 parent 8b7b87c commit 01b78d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ func (w *worker) prepareWork(genParams *generateParams) (*environment, error) {
func (w *worker) fillTransactions(interrupt *int32, env *environment) {
// Split the pending transactions into locals and remotes
// Fill the block with all available pending transactions.
pending := w.eth.TxPool().Pending(true)
pending := w.eth.TxPool().Pending(false)
localTxs, remoteTxs := make(map[common.Address]types.Transactions), pending
for _, account := range w.eth.TxPool().Locals() {
if txs := remoteTxs[account]; len(txs) > 0 {
Expand Down

0 comments on commit 01b78d4

Please sign in to comment.