Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ pub struct Plan<Pk: MiniscriptKey> {
pub absolute_timelock: Option<absolute::LockTime>,
/// The relative timelock this plan uses
pub relative_timelock: Option<relative::LockTime>,

pub(crate) descriptor: Descriptor<Pk>,
/// The target descriptor for this plan
pub descriptor: Descriptor<Pk>,
}

impl<Pk: MiniscriptKey + ToPublicKey> Plan<Pk> {
Expand Down Expand Up @@ -363,8 +363,6 @@ impl Plan<DefiniteDescriptorKey> {
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);
Expand Down
Loading