Skip to content

Commit 110c0bf

Browse files
authored
Merge pull request #7436 from BitGo/COIN-6377
fix: memoId check in isWalletAddress for canton
2 parents 4924a3a + 68e724a commit 110c0bf

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)