Skip to content

Commit 68e724a

Browse files
committed
fix: memoId check in isWalletAddress for canton
Ticket: COIN-6377
1 parent 4924a3a commit 68e724a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/sdk-coin-canton/src/canton.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class Canton extends BaseCoin {
128128
if (!this.isValidAddress(addressPart)) {
129129
throw new InvalidAddressError(`invalid address: ${newAddress}`);
130130
}
131-
if (memoId && memoId !== index) {
131+
if (memoId && memoId !== `${index}`) {
132132
throw new InvalidAddressError(`invalid memoId index: ${memoId}`);
133133
}
134134
const commonKeychain = extractCommonKeychain(keychains);

0 commit comments

Comments
 (0)