From 9cb3848e51dc6d416e18f35d4cc3b1f1443e327f Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Tue, 28 Apr 2020 15:59:55 +0200 Subject: [PATCH] chore: make comment reflect the code During the change to default CIDV1 to Base32, the corresponding code comment wasn't updated. --- cid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cid.go b/cid.go index 2b2ac70..1b5801b 100644 --- a/cid.go +++ b/cid.go @@ -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: