test: mock proof side effects on verify as well

This commit is contained in:
Steven Allen 2021-03-12 09:05:34 -08:00
parent d9923125ff
commit b74b1658b2

View File

@ -491,6 +491,7 @@ func (m mockVerif) VerifySeal(svi proof2.SealVerifyInfo) (bool, error) {
}
func (m mockVerif) VerifyWinningPoSt(ctx context.Context, info proof2.WinningPoStVerifyInfo) (bool, error) {
info.Randomness[31] &= 0x3f
return true, nil
}