]> Untitled Git - bdk-cli/commitdiff
Fix the recovery of a descriptor given a PSBT
authorAlekos Filini <alekos.filini@gmail.com>
Tue, 29 Sep 2020 16:18:50 +0000 (18:18 +0200)
committerAlekos Filini <alekos.filini@gmail.com>
Fri, 2 Oct 2020 15:52:11 +0000 (17:52 +0200)
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.

Cargo.toml

index 3c633af514bf66e0833172b7f93e646c2dc7f16b..ef1a0d2a48eb56cbcd8643b56a9d848336a3b192 100644 (file)
@@ -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]