diff --git a/services/simple-bip32.ts b/services/simple-bip32.ts index 581e583d..fbbbb3cb 100644 --- a/services/simple-bip32.ts +++ b/services/simple-bip32.ts @@ -47,7 +47,7 @@ export class SimpleBIP32Node { for (const part of parts) { if (part === 'm') continue; - const index = parseInt(part.replace("'", ''), 10); + const index = parseInt(part.replace(/'/g, ''), 10); current = this.deriveChild(current, index); }