From: Alekos Filini Date: Tue, 29 Sep 2020 16:18:50 +0000 (+0200) Subject: Fix the recovery of a descriptor given a PSBT X-Git-Tag: v0.1.0~42 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.CodeLengthError.html?a=commitdiff_plain;h=bc08aa9c42443d2226ed213ea02c16cde2cb5283;p=bdk-cli Fix the recovery of a descriptor given a PSBT This commit upgrades `rust-miniscript` with a fix to only return the prefix that matches a `hd_keypath` instead of the full derivation path, and then adapts the signer code accordingly. This commit closes #108 and #109. --- diff --git a/Cargo.toml b/Cargo.toml index 3c633af..ef1a0d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ tiny-bip39 = { version = "^0.7", optional = true } [patch.crates-io] bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin/", rev = "478e091" } -miniscript = { git = "https://github.com/MagicalBitcoin/rust-miniscript", branch = "descriptor-public-key" } +miniscript = { git = "https://github.com/MagicalBitcoin/rust-miniscript", rev = "d0322ac" } # Platform-specific dependencies [target.'cfg(not(target_arch = "wasm32"))'.dependencies]