Skip to content

Commit

Permalink
Add additional test coverage of NetworkGraph counters
Browse files Browse the repository at this point in the history
This would have caught the bug fixed in 0c0cb6f
in our tests.
  • Loading branch information
TheBlueMatt committed Oct 29, 2024
1 parent 299b7bd commit 7c3aa9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lightning/src/routing/gossip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2089,6 +2089,10 @@ where
};
}

core::mem::drop(nodes);
core::mem::drop(channels);
self.test_node_counter_consistency();

Ok(())
}

Expand Down

0 comments on commit 7c3aa9d

Please sign in to comment.