diff --git a/Cargo.toml b/Cargo.toml index 70fd6dd..dcb2b69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/lib.rs b/src/lib.rs index 49232f4..6ea0dac 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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();