Skip to content

Commit 1e21cc7

Browse files
Fix wasm
1 parent ba1c165 commit 1e21cc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ pub enum WalletSubCommand {
179179
}
180180

181181
/// Config options wallet operations can take.
182-
#[derive(Debug, Args, Clone, PartialEq)]
182+
#[derive(Debug, Parser, Clone, PartialEq)]
183183
pub struct WalletOpts {
184184
/// Selects the wallet to use.
185185
#[clap(name = "WALLET_NAME", short = 'w', long = "wallet")]

src/wasm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use bitcoin::*;
99
use bdk::blockchain::AnyBlockchain;
1010
use bdk::database::AnyDatabase;
1111
use bdk::miniscript::{MiniscriptKey, Translator};
12+
use clap::Parser;
1213
use js_sys::Promise;
1314
use regex::Regex;
1415
use std::collections::HashMap;
@@ -17,7 +18,6 @@ use std::ops::Deref;
1718
use std::path::PathBuf;
1819
use std::rc::Rc;
1920
use std::str::FromStr;
20-
use structopt::StructOpt;
2121
use wasm_bindgen::prelude::*;
2222
use wasm_bindgen_futures::future_to_promise;
2323

0 commit comments

Comments
 (0)