Skip to content

Commit

Permalink
Revert "revert XinFinOrg#497 behavior for v1 engine (XinFinOrg#531)"
Browse files Browse the repository at this point in the history
This reverts commit 2bbecdc.
  • Loading branch information
gzliudan committed Jul 26, 2024
1 parent a0bc6e5 commit 006523a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion consensus/XDPoS/engines/engine_v1/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 006523a

Please sign in to comment.