diff --git a/packages/caravan-wallets/src/coldcard.ts b/packages/caravan-wallets/src/coldcard.ts index 65843b1a..d53000db 100644 --- a/packages/caravan-wallets/src/coldcard.ts +++ b/packages/caravan-wallets/src/coldcard.ts @@ -75,7 +75,11 @@ class ColdcardMultisigSettingsFileParser extends ColdcardInteraction { bip32Path: string; }) { super(); - if ([Network.MAINNET, Network.TESTNET].find((net) => net === network)) { + if ( + [Network.MAINNET, Network.TESTNET, Network.REGTEST].find( + (net) => net === network + ) + ) { this.network = network; } else { throw new Error("Unknown network."); diff --git a/packages/caravan-wallets/src/custom.ts b/packages/caravan-wallets/src/custom.ts index 7febc3f6..e207b729 100644 --- a/packages/caravan-wallets/src/custom.ts +++ b/packages/caravan-wallets/src/custom.ts @@ -68,7 +68,11 @@ export class CustomExportExtendedPublicKey extends CustomInteraction { constructor({ network, bip32Path }) { super(); - if ([Network.MAINNET, Network.TESTNET].find((net) => net === network)) { + if ( + [Network.MAINNET, Network.TESTNET, Network.REGTEST].find( + (net) => net === network + ) + ) { this.network = network; } else { throw new Error("Unknown network.");