Commit c42a643b authored by laser's avatar laser
Browse files

fix(candidates): use generated candidates in PoSt verification

parent d4c59669
...@@ -186,7 +186,7 @@ func TestSectorBuilderLifecycle(t *testing.T) { ...@@ -186,7 +186,7 @@ func TestSectorBuilderLifecycle(t *testing.T) {
require.NoError(t, err) require.NoError(t, err)
// verify the PoSt // verify the PoSt
isValid, err = sb.VerifyPoSt(1024, sectorInfo, [32]byte{}, proofs, []sb.Candidate{}, proverID) isValid, err = sb.VerifyPoSt(1024, sectorInfo, [32]byte{}, proofs, candidates, proverID)
require.NoError(t, err) require.NoError(t, err)
require.True(t, isValid) require.True(t, isValid)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment