miner: remove unused commented code (#27664)

pull/27407/merge
jwasinger 1 year ago committed by GitHub
parent c866dfdc78
commit c2db667c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      miner/worker.go

@ -904,11 +904,6 @@ func (w *worker) fillTransactions(interrupt *atomic.Int32, env *environment) err
// Split the pending transactions into locals and remotes
// Fill the block with all available pending transactions.
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
for _, account := range w.eth.TxPool().Locals() {

Loading…
Cancel
Save