fix test compilation error.

This commit is contained in:
Raúl Kripalani 2020-08-16 11:14:24 +01:00
parent 3c17cd655e
commit 1eed341951

View File

@ -225,7 +225,7 @@ func getGrothParamFileAndVerifyingKeys(s abi.SectorSize) {
panic(err)
}
err = paramfetch.GetParams(dat, uint64(s))
err = paramfetch.GetParams(context.TODO(), dat, uint64(s))
if err != nil {
panic(xerrors.Errorf("failed to acquire Groth parameters for 2KiB sectors: %w", err))
}