pass context to paramfetch.GetParams

Fixes #1209
This commit is contained in:
laser
2020-06-05 10:28:00 -07:00
parent 7d166fd730
commit 4855045ea2
9 changed files with 18 additions and 13 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ var fetchParamCmd = &cli.Command{
return err
}
sectorSize := uint64(sectorSizeInt)
err = paramfetch.GetParams(build.ParametersJson(), sectorSize)
err = paramfetch.GetParams(ReqContext(cctx), build.ParametersJson(), sectorSize)
if err != nil {
return xerrors.Errorf("fetching proof parameters: %w", err)
}