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 6415492
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ jobs:

incremental-mutants:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
if: always() #github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
with:
Expand Down
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 6415492

Please sign in to comment.