miner: remove outdated comment (#30248)

This commit is contained in:
Darioush Jalali 2024-08-01 07:06:43 -07:00 committed by GitHub
parent de6d597679
commit ff6e43e8c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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