diff --git a/modules/sdk-coin-canton/src/canton.ts b/modules/sdk-coin-canton/src/canton.ts index cc2d477954..22c9ecbc1d 100644 --- a/modules/sdk-coin-canton/src/canton.ts +++ b/modules/sdk-coin-canton/src/canton.ts @@ -128,7 +128,7 @@ export class Canton extends BaseCoin { if (!this.isValidAddress(addressPart)) { throw new InvalidAddressError(`invalid address: ${newAddress}`); } - if (memoId && memoId !== index) { + if (memoId && memoId !== `${index}`) { throw new InvalidAddressError(`invalid memoId index: ${memoId}`); } const commonKeychain = extractCommonKeychain(keychains);