Skip to content

Commit

Permalink
f trigger mutants
Browse files Browse the repository at this point in the history
  • Loading branch information
dunxen committed May 31, 2024
1 parent 5e7a51b commit 2ade54b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lightning/src/ln/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7458,6 +7458,7 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
pub fn get_funding_created<L: Deref>(&mut self, funding_transaction: Transaction, funding_txo: OutPoint, is_batch_funding: bool, logger: &L)
-> Result<Option<msgs::FundingCreated>, (Self, ChannelError)> where L::Target: Logger {
if !self.context.is_outbound() {
// REMOVE ME - TRIGGER MUTANTS
panic!("Tried to create outbound funding_created message on an inbound channel!");
}
if !matches!(
Expand Down

0 comments on commit 2ade54b

Please sign in to comment.