Skip to content

Commit 5304c60

Browse files
committed
fix: remove reference to removed nonffi package
1 parent 0b0bf89 commit 5304c60

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module github.com/filecoin-project/go-commp-utils
33
go 1.21
44

55
require (
6-
github.com/filecoin-project/go-commp-utils/nonffi v0.0.0-20220905160352-62059082a837
76
github.com/filecoin-project/go-fil-commcid v0.1.0
87
github.com/filecoin-project/go-fil-commp-hashhash v0.2.0
98
github.com/filecoin-project/go-padreader v0.0.1

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
33
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
44
github.com/filecoin-project/go-address v1.1.0 h1:ofdtUtEsNxkIxkDw67ecSmvtzaVSdcea4boAmLbnHfE=
55
github.com/filecoin-project/go-address v1.1.0/go.mod h1:5t3z6qPmIADZBtuE9EIzi0EwzcRy2nVhpo0I/c1r0OA=
6-
github.com/filecoin-project/go-commp-utils/nonffi v0.0.0-20220905160352-62059082a837 h1:4cITW0pwgvqLs86Q9bWQa34+jBfR1V687bDkmv2DgnA=
7-
github.com/filecoin-project/go-commp-utils/nonffi v0.0.0-20220905160352-62059082a837/go.mod h1:e2YBjSblNVoBckkbv3PPqsq71q98oFkFqL7s1etViGo=
86
github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03 h1:2pMXdBnCiXjfCYx/hLqFxccPoqsSveQFxVLvNxy9bus=
97
github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03/go.mod h1:+viYnvGtUTgJRdy6oaeF4MTFKAfatX071MPDPBL11EQ=
108
github.com/filecoin-project/go-fil-commcid v0.1.0 h1:3R4ds1A9r6cr8mvZBfMYxTS88OqLYEo6roi+GiIeOh8=

writer/writer.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
"github.com/filecoin-project/go-state-types/abi"
1313

1414
commp "github.com/filecoin-project/go-commp-utils"
15-
"github.com/filecoin-project/go-commp-utils/nonffi"
1615
"github.com/filecoin-project/go-commp-utils/zerocomm"
1716
)
1817

@@ -145,7 +144,7 @@ func (w *Writer) Sum() (DataCIDSize, error) {
145144
}
146145
}
147146

148-
p, err := nonffi.GenerateUnsealedCID(abi.RegisteredSealProof_StackedDrg64GiBV1, pieces)
147+
p, err := commp.GenerateUnsealedCID(abi.RegisteredSealProof_StackedDrg64GiBV1, pieces)
149148
if err != nil {
150149
return DataCIDSize{}, xerrors.Errorf("generating unsealed CID: %w", err)
151150
}

0 commit comments

Comments
 (0)