Skip to content

Commit 520fb28

Browse files
committed
Revert "revert XinFinOrg#497 behavior for v1 engine (XinFinOrg#531)"
This reverts commit 2bbecdc.
1 parent 3ae6f75 commit 520fb28

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

consensus/XDPoS/engines/engine_v1/engine.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ func (x *XDPoS_v1) verifyHeaderWithCache(chain consensus.ChainReader, header *ty
154154
// looking those up from the database. This is useful for concurrently verifying
155155
// a batch of new headers.
156156
func (x *XDPoS_v1) verifyHeader(chain consensus.ChainReader, header *types.Header, parents []*types.Header, fullVerify bool) error {
157-
fullVerify = false
158157
// If we're running a engine faking, accept any block as valid
159158
if x.config.SkipV1Validation {
160159
return nil

0 commit comments

Comments
 (0)