miner: remove unused commented code (#27664)

This commit is contained in:
jwasinger 2023-07-07 10:14:24 +02:00 committed by GitHub
parent c866dfdc78
commit c2db667c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -904,11 +904,6 @@ func (w *worker) fillTransactions(interrupt *atomic.Int32, env *environment) err
// Split the pending transactions into locals and remotes // Split the pending transactions into locals and remotes
// Fill the block with all available pending transactions. // Fill the block with all available pending transactions.
pending := w.eth.TxPool().Pending(true) pending := w.eth.TxPool().Pending(true)
/*blobtxs := w.eth.BlobPool().Pending(
uint256.MustFromBig(env.header.BaseFee),
uint256.MustFromBig(misc.CalcBlobFee(*env.header.ExcessDataGas)),
)
log.Trace("Side-effect log, much wow", "blobs", len(blobtxs))*/
localTxs, remoteTxs := make(map[common.Address][]*types.Transaction), pending localTxs, remoteTxs := make(map[common.Address][]*types.Transaction), pending
for _, account := range w.eth.TxPool().Locals() { for _, account := range w.eth.TxPool().Locals() {