mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
revert https://github.com/XinFinOrg/XDPoSChain/pull/497 behavior for v1 engine (#531)
This commit is contained in:
parent
74f3fe3408
commit
2bbecdcbbc
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ 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