Commit 9cb3848e authored by Volker Mische's avatar Volker Mische

chore: make comment reflect the code

During the change to default CIDV1 to Base32, the corresponding code
comment wasn't updated.
parent f458e041
......@@ -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