Skip to content

Commit

Permalink
fix: base64 not base64pad for compatibility with existing tools
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Nov 7, 2024
1 parent 34de8cd commit 96066bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/delegation/delegation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 96066bc

Please sign in to comment.