From 96066bcf16aff91e322f765399c81853713a0695 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Thu, 7 Nov 2024 15:25:10 +0000 Subject: [PATCH] fix: base64 not base64pad for compatibility with existing tools --- core/delegation/delegation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/delegation/delegation.go b/core/delegation/delegation.go index 9f8f6e9..2281a64 100644 --- a/core/delegation/delegation.go +++ b/core/delegation/delegation.go @@ -220,7 +220,7 @@ func Format(dlg Delegation) (string, error) { if err != nil { return "", fmt.Errorf("creating multihash: %w", err) } - return cid.NewCidV1(uint64(multicodec.Car), digest).StringOfBase(multibase.Base64pad) + return cid.NewCidV1(uint64(multicodec.Car), digest).StringOfBase(multibase.Base64) } func Parse(input string) (Delegation, error) {