From 69be31bf206952dcbe68f3a248c153c29df6b2cf 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 06d186046..00acfaf2e 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 01834204a84a8739ac88c3fe182e016a4cab796a 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 00acfaf2e..51e48566a 100644 --- a/src/plan.rs +++ b/src/plan.rs @@ -363,8 +363,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);