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

@ -54,7 +54,7 @@ func (h *handler) syncTransactions(p *eth.Peer) {
//
// TODO(karalabe): Figure out if we could get away with random order somehow
var txs types.Transactions
pending, _ := h.txpool.Pending()
pending, _ := h.txpool.Pending(false)
for _, batch := range pending {
txs = append(txs, batch...)
}