mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
consensus/misc: update
This commit is contained in:
parent
d031689977
commit
3e675b18f0
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ func VerifyDAOHeaderExtraData(config *params.Config2, header *types.Header) erro
|
|||
}
|
||||
|
||||
// Depending on whether we support or oppose the fork, validate the extra-data contents
|
||||
if params.Get[params.DAOForkSupport](config) {
|
||||
if params.DAOForkSupport.Get(config) {
|
||||
if !bytes.Equal(header.Extra, params.DAOForkBlockExtra) {
|
||||
return ErrBadProDAOExtra
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue