use the miner's proof type when proposing storage deals

This commit is contained in:
Steven Allen
2020-11-16 19:04:17 +01:00
committed by Łukasz Magiera
parent 638900f97f
commit bead8ac38e
+1 -1
View File
@@ -165,7 +165,7 @@ func (a *API) ClientStartDeal(ctx context.Context, params *api.StartDealParams)
EndEpoch: calcDealExpiration(params.MinBlocksDuration, md, dealStart),
Price: params.EpochPrice,
Collateral: params.ProviderCollateral,
Rt: abi.RegisteredSealProof_StackedDrg32GiBV1_1, // all proof types have the same D tree
Rt: mi.SealProofType,
FastRetrieval: params.FastRetrieval,
VerifiedDeal: params.VerifiedDeal,
StoreID: storeID,