Always validate VRFs, even when insecure post validation is enabled
We always generate them, we might as well validate them.
This commit is contained in:
parent
70c39fe78c
commit
4a550d12d4
@ -1731,9 +1731,6 @@ func (syncer *Syncer) collectChain(ctx context.Context, ts *types.TipSet) error
|
||||
}
|
||||
|
||||
func VerifyElectionPoStVRF(ctx context.Context, worker address.Address, rand []byte, evrf []byte) error {
|
||||
if build.InsecurePoStValidation {
|
||||
return nil
|
||||
}
|
||||
return gen.VerifyVRF(ctx, worker, rand, evrf)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user