From bc08aa9c42443d2226ed213ea02c16cde2cb5283 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Tue, 29 Sep 2020 18:18:50 +0200 Subject: [PATCH] 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.49.0