Skip to content

Commit

Permalink
Fix wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshimaitra committed Nov 20, 2022
1 parent ba1c165 commit 4ff8619
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub enum WalletSubCommand {
}

/// Config options wallet operations can take.
#[derive(Debug, Args, Clone, PartialEq)]
#[derive(Debug, Args, Clone, PartialEq, Parser)]
pub struct WalletOpts {
/// Selects the wallet to use.
#[clap(name = "WALLET_NAME", short = 'w', long = "wallet")]
Expand Down
2 changes: 1 addition & 1 deletion src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use bitcoin::*;
use bdk::blockchain::AnyBlockchain;
use bdk::database::AnyDatabase;
use bdk::miniscript::{MiniscriptKey, Translator};
use clap::Parser;
use js_sys::Promise;
use regex::Regex;
use std::collections::HashMap;
Expand All @@ -17,7 +18,6 @@ use std::ops::Deref;
use std::path::PathBuf;
use std::rc::Rc;
use std::str::FromStr;
use structopt::StructOpt;
use wasm_bindgen::prelude::*;
use wasm_bindgen_futures::future_to_promise;

Expand Down

0 comments on commit 4ff8619

Please sign in to comment.