ipfs / go-cid

Content ID v1 implemented in go
MIT License
157 stars 47 forks source link

Prefix.Sum creates bad inline CIDs #83

Open Stebalien opened 5 years ago

Stebalien commented 5 years ago

inlineCid.Prefix().Sum("foobar") uses the length from inlineCid instead of -1.