core, eth, miner: enforce configured mining reward post 1559 too

This commit is contained in:
Péter Szilágyi
2021-06-04 09:55:00 +03:00
parent 3094e7f3b8
commit 7e915ee379
9 changed files with 39 additions and 12 deletions

View File

@ -963,7 +963,7 @@ func (w *worker) commitNewWork(interrupt *int32, noempty bool, timestamp int64)
}
// Fill the block with all available pending transactions.
pending, err := w.eth.TxPool().Pending()
pending, err := w.eth.TxPool().Pending(true)
if err != nil {
log.Error("Failed to fetch pending transactions", "err", err)
return