Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
13 changes: 13 additions & 0 deletions lightning/src/ln/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6314,6 +6314,19 @@ where
}
}

#[cfg(all(test))]
pub fn get_initial_counterparty_commitment_signatures_for_test<L: Deref>(
&mut self, funding: &mut FundingScope, logger: &L,
counterparty_next_commitment_point_override: PublicKey,
) -> Option<(Signature, Vec<Signature>)>
where
SP::Target: SignerProvider,
L::Target: Logger,
{
self.counterparty_next_commitment_point = Some(counterparty_next_commitment_point_override);
self.get_initial_counterparty_commitment_signatures(funding, logger)
}

fn check_funding_meets_minimum_depth(&self, funding: &FundingScope, height: u32) -> bool {
let minimum_depth = self
.minimum_depth(funding)
Expand Down
Loading