Skip to content

Commit dcbcb96

Browse files
authored
Merge pull request #1 from ipfs-force-community/fix/support-lager-than-32G
fix : supportting calculate 64G file commp
2 parents 8375c96 + a9105ec commit dcbcb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

writer/writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (w *Writer) Sum() (DataCIDSize, error) {
145145
}
146146
}
147147

148-
p, err := ffi.GenerateUnsealedCID(abi.RegisteredSealProof_StackedDrg32GiBV1, pieces)
148+
p, err := ffi.GenerateUnsealedCID(abi.RegisteredSealProof_StackedDrg64GiBV1, pieces)
149149
if err != nil {
150150
return DataCIDSize{}, xerrors.Errorf("generating unsealed CID: %w", err)
151151
}

0 commit comments

Comments
 (0)