Skip to content

Commit

Permalink
comment exported func
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Sutula <[email protected]>
  • Loading branch information
asutula committed Jan 16, 2021
1 parent 99513bd commit 86358b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/server/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func toRPCDealErrors(des []ffs.DealError) []*userPb.DealError {
return ret
}

// FromProtoCids converts string cids to cid.Cids.
func FromProtoCids(cids []string) ([]cid.Cid, error) {
var res []cid.Cid
for _, cid := range cids {
Expand Down

0 comments on commit 86358b5

Please sign in to comment.