diff --git a/src/plan.rs b/src/plan.rs index c3bfd5618..6732d0eea 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 { @@ -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);