Skip to content

Commit

Permalink
Revert to legacy wallet creation (litecoin has no descriptor wallets)
Browse files Browse the repository at this point in the history
  • Loading branch information
ynohtna92 committed Jan 21, 2024
1 parent e4dda10 commit 29dd391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/subcommand/preview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Preview {

fs::create_dir(&litecoin_data_dir)?;

eprintln!("Spawning bitcoind…");
eprintln!("Spawning litecoind…");

let _bitcoind = KillOnDrop(
Command::new("litecoind")
Expand Down
2 changes: 1 addition & 1 deletion src/subcommand/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ pub(crate) fn initialize(wallet: String, options: &Options, _seed: [u8; 64]) ->

let _network = options.chain().network();

client.create_wallet(&wallet, None, Some(true), None, None)?;
client.create_wallet(&wallet, None, None, None, None)?;

// Functionally not supported with Litecoin
// let secp = Secp256k1::new();
Expand Down

0 comments on commit 29dd391

Please sign in to comment.