From 5248db139d77a12d09bf97f6dd11fa9e2b585640 Mon Sep 17 00:00:00 2001 From: nymius <155548262+nymius@users.noreply.github.com> Date: Tue, 2 Jun 2026 10:15:23 -0300 Subject: [PATCH 1/2] feat: expose `Plan.descriptor` field --- src/plan.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plan.rs b/src/plan.rs index c3bfd5618..f86a9ca32 100644 --- a/src/plan.rs +++ b/src/plan.rs @@ -217,8 +217,8 @@ pub struct Plan { pub absolute_timelock: Option, /// The relative timelock this plan uses pub relative_timelock: Option, - - pub(crate) descriptor: Descriptor, + /// The target descriptor for this plan + pub descriptor: Descriptor, } impl Plan { From 9e1ced68ed00e33f07dd448b482ddc6a71088eb9 Mon Sep 17 00:00:00 2001 From: nymius <155548262+nymius@users.noreply.github.com> Date: Tue, 2 Jun 2026 15:50:22 -0300 Subject: [PATCH 2/2] chore: remove outdated TODO --- src/plan.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plan.rs b/src/plan.rs index f86a9ca32..6732d0eea 100644 --- a/src/plan.rs +++ b/src/plan.rs @@ -360,8 +360,6 @@ impl Plan { data }); - // TODO: TapTree. we need to re-traverse the tree to build it, sigh - let leaf_hash = match data.spend_type { Some(SpendType::KeySpend { internal_key }) => { input.tap_internal_key = Some(internal_key);