Unverified Commit 723b4ab1 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #101 from vmx/patch-1

chore: make comment reflect the code
parents f458e041 9cb3848e
......@@ -337,8 +337,8 @@ func (c Cid) Type() uint64 {
}
// String returns the default string representation of a
// Cid. Currently, Base58 is used as the encoding for the
// multibase string.
// Cid. Currently, Base32 is used for CIDV1 as the encoding for the
// multibase string, Base58 is used for CIDV0.
func (c Cid) String() string {
switch c.Version() {
case 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment