Switching to Bitcoin Testnet as Signet does not appear to work with Electrum atm

This commit is contained in:
Dave Hrycyszyn
2024-06-24 15:57:31 +01:00
parent 462590b82f
commit 9e4d9a4762
6 changed files with 318 additions and 24 deletions

View File

@@ -45,7 +45,7 @@ pub fn create_wallet(mnemonic_words: String) -> anyhow::Result<Wallet<MemoryData
let wallet = Wallet::new(
Bip84(xprv, KeychainKind::External),
Some(Bip84(xprv, KeychainKind::Internal)),
Network::Signet,
Network::Testnet,
MemoryDatabase::default(),
)?;