diff --git a/packages/crypto/src/multibase.ts b/packages/crypto/src/multibase.ts index d64ef27cdb3..c8209164f21 100644 --- a/packages/crypto/src/multibase.ts +++ b/packages/crypto/src/multibase.ts @@ -48,6 +48,6 @@ export const bytesToMultibase = ( case 'base64urlpad': return 'U' + uint8arrays.toString(mb, encoding) default: - throw new Error(`Unsupported multibase: :${mb}`) + throw new Error(`Unsupported multibase: :${encoding}`) } }