mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
fix typo
This commit is contained in:
parent
0853d74b40
commit
03c410d0bf
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ func (miner *Miner) prepareWork(genParams *generateParams) (*environment, error)
|
|||
core.ProcessBeaconBlockRoot(*header.ParentBeaconRoot, vmenv, env.state)
|
||||
}
|
||||
if miner.chainConfig.IsPrague(header.Number, header.Time) {
|
||||
// Prague is enabled after Cancun so vmenv should be initalized.
|
||||
// Prague is enabled after Cancun so vmenv should be initialized.
|
||||
core.ProcessParentBlockHash(env.state, vmenv, header.ParentHash)
|
||||
}
|
||||
return env, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue