diff --git a/turbo/jsonrpc/bor_snapshot.go b/turbo/jsonrpc/bor_snapshot.go index 2ddc6d9f5ac..8cd855d9040 100644 --- a/turbo/jsonrpc/bor_snapshot.go +++ b/turbo/jsonrpc/bor_snapshot.go @@ -526,7 +526,7 @@ func (s *Snapshot) apply(headers []*types.Header) (*Snapshot, error) { if err := bor.ValidateHeaderExtraLength(header.Extra); err != nil { return nil, err } - validatorBytes := header.Extra[extraVanity : len(header.Extra)-extraSeal] + validatorBytes := bor.GetValidatorBytes(header, s.config) // get validators from headers and use that for new validator set newVals, _ := valset.ParseValidators(validatorBytes)