miner: remove outdated comment (#30248)

pull/30261/head
Darioush Jalali 4 months ago committed by GitHub
parent de6d597679
commit ff6e43e8c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      miner/worker.go

@ -205,8 +205,7 @@ func (miner *Miner) prepareWork(genParams *generateParams) (*environment, error)
// makeEnv creates a new environment for the sealing block.
func (miner *Miner) makeEnv(parent *types.Header, header *types.Header, coinbase common.Address) (*environment, error) {
// Retrieve the parent state to execute on top and start a prefetcher for
// the miner to speed block sealing up a bit.
// Retrieve the parent state to execute on top.
state, err := miner.chain.StateAt(parent.Root)
if err != nil {
return nil, err

Loading…
Cancel
Save