mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +00:00
Revert "revert https://github.com/XinFinOrg/XDPoSChain/pull/497 behavior for v1 engine (#531)"
This reverts commit 2bbecdcbbc.
This commit is contained in:
parent
3ae6f752bd
commit
520fb284f5
1 changed files with 0 additions and 1 deletions
|
|
@ -154,7 +154,6 @@ func (x *XDPoS_v1) verifyHeaderWithCache(chain consensus.ChainReader, header *ty
|
|||
// looking those up from the database. This is useful for concurrently verifying
|
||||
// a batch of new headers.
|
||||
func (x *XDPoS_v1) verifyHeader(chain consensus.ChainReader, header *types.Header, parents []*types.Header, fullVerify bool) error {
|
||||
fullVerify = false
|
||||
// If we're running a engine faking, accept any block as valid
|
||||
if x.config.SkipV1Validation {
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue