fix: client: calculate commps for pieces bigger than 32GB
This commit is contained in:
parent
7c2f653323
commit
fd8cb44e67
@ -1272,7 +1272,7 @@ func (a *API) ClientCalcCommP(ctx context.Context, inpath string) (*api.CommPRet
|
|||||||
//
|
//
|
||||||
// IF/WHEN this changes in the future we will have to be able to calculate
|
// IF/WHEN this changes in the future we will have to be able to calculate
|
||||||
// "old style" commP, and thus will need to introduce a version switch or similar
|
// "old style" commP, and thus will need to introduce a version switch or similar
|
||||||
arbitraryProofType := abi.RegisteredSealProof_StackedDrg32GiBV1_1
|
arbitraryProofType := abi.RegisteredSealProof_StackedDrg64GiBV1_1
|
||||||
|
|
||||||
rdr, err := os.Open(inpath)
|
rdr, err := os.Open(inpath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user