Skip to content

Commit

Permalink
miner: remove outdated comment (#30248)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored Aug 1, 2024
1 parent de6d597 commit ff6e43e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff6e43e

Please sign in to comment.