test: mock proof side effects on verify as well
This commit is contained in:
parent
d9923125ff
commit
b74b1658b2
1
extern/sector-storage/mock/mock.go
vendored
1
extern/sector-storage/mock/mock.go
vendored
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user