From 68e724abde5317b0454d7ee4f80876efe405dce9 Mon Sep 17 00:00:00 2001 From: Ravi Hegde Date: Thu, 6 Nov 2025 11:29:15 +0530 Subject: [PATCH] fix: memoId check in isWalletAddress for canton Ticket: COIN-6377 --- modules/sdk-coin-canton/src/canton.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);