Skip to content

Commit

Permalink
Update to latest 'bdk' commit
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Feb 6, 2021
1 parent c96bf2a commit e64696d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ readme = "README.md"
license = "MIT"

[dependencies]
bdk = { git = "https://github.com/bitcoindevkit/bdk.git", commit = "4c36020e", features = ["all-keys"]}
bdk-macros = { git = "https://github.com/bitcoindevkit/bdk.git", commit = "4c36020e" }
bdk = { git = "https://github.com/bitcoindevkit/bdk.git", commit = "c4f2179", features = ["all-keys"]}
bdk-macros = { git = "https://github.com/bitcoindevkit/bdk.git", commit = "c4f2179" }
structopt = "^0.3"
serde_json = { version = "^1.0" }
log = "^0.4"
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ feature to create keys that secure actual funds on the Bitcoin mainnet.
#[derive(Debug, StructOpt, Clone, PartialEq)]
#[structopt(rename_all = "snake")]
pub enum KeySubCommand {
/// Generates new random seed mnemonic phrase and corresponding master extended keys
/// Generates new random seed mnemonic phrase and corresponding master extended key
Generate {
/// Entropy level based on number of random seed mnemonic words
#[structopt(
Expand All @@ -775,7 +775,7 @@ pub enum KeySubCommand {
#[structopt(name = "PASSWORD", short = "p", long = "password")]
password: Option<String>,
},
/// Restore a master extended keys from seed backup mnemonic words
/// Restore a master extended key from seed backup mnemonic words
Restore {
/// Seed mnemonic words, must be quoted (eg. "word1 word2 ...")
#[structopt(name = "MNEMONIC", short = "m", long = "mnemonic")]
Expand Down Expand Up @@ -804,7 +804,7 @@ pub fn handle_key_subcommand(
12 => MnemonicType::Words12,
_ => MnemonicType::Words24,
};
let mnemonic: GeneratedKey<_, miniscript::Bare> =
let mnemonic: GeneratedKey<_, miniscript::BareCtx> =
Mnemonic::generate((mnemonic_type, Language::English)).unwrap();
//.map_err(|e| KeyError::from(e.unwrap()))?;
let mnemonic = mnemonic.into_key();
Expand Down

0 comments on commit e64696d

Please sign in to comment.