fix typo in comment

This commit is contained in:
Madper Xie
2019-02-15 20:19:46 +08:00
parent 033594dcd6
commit e6d04f280e

2
cid.go
View File

@@ -167,7 +167,7 @@ func NewCidV1(codecType uint64, mhash mh.Multihash) Cid {
return Cid{string(buf[:n+hashlen])}
}
// Cid represents a self-describing content adressed
// Cid represents a self-describing content addressed
// identifier. It is formed by a Version, a Codec (which indicates
// a multicodec-packed content type) and a Multihash.
type Cid struct{ str string }