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 f3b640b commit 0d4c36b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lightning/src/ln/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7460,6 +7460,10 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
if !self.context.is_outbound() {
panic!("Tried to create outbound funding_created message on an inbound channel!");
}
// REMOVE ME - TRIGGER MUTANTS
if is_batch_funding {
println!("trigger mutants");
};
if !matches!(
self.context.channel_state, ChannelState::NegotiatingFunding(flags)
if flags == (NegotiatingFundingFlags::OUR_INIT_SENT | NegotiatingFundingFlags::THEIR_INIT_SENT)
Expand Down

0 comments on commit 0d4c36b

Please sign in to comment.