Synthetic PoRep Impl

This commit is contained in:
Andrew Jackson (Ajax)
2023-07-13 15:47:59 +02:00
committed by Łukasz Magiera
parent 5ed8a5c0ac
commit 7f306a5b02
7 changed files with 31 additions and 36 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ func (a *API) dealStarter(ctx context.Context, params *api.StartDealParams, isSt
return nil, xerrors.Errorf("failed to get network version: %w", err)
}
st, err := miner.PreferredSealProofTypeFromWindowPoStType(networkVersion, mi.WindowPoStProofType)
st, err := miner.PreferredSealProofTypeFromWindowPoStType(networkVersion, mi.WindowPoStProofType, false)
if err != nil {
return nil, xerrors.Errorf("failed to get seal proof type: %w", err)
}