From b74b1658b29528eccf979b99bfa302ab04c7b81b Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 12 Mar 2021 09:05:34 -0800 Subject: [PATCH] test: mock proof side effects on verify as well --- extern/sector-storage/mock/mock.go | 1 + 1 file changed, 1 insertion(+) diff --git a/extern/sector-storage/mock/mock.go b/extern/sector-storage/mock/mock.go index 17e5f26f1..17e969758 100644 --- a/extern/sector-storage/mock/mock.go +++ b/extern/sector-storage/mock/mock.go @@ -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 }