Skip to content

Commit 64e14be

Browse files
authored
Merge pull request #3687 from TheBlueMatt/2025-04-test-runtime
Only run aggressive `test_node_counter_consistency` in tests
2 parents 7af3c8f + 3145168 commit 64e14be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/gossip.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ where
17861786
}
17871787

17881788
fn test_node_counter_consistency(&self) {
1789-
#[cfg(debug_assertions)]
1789+
#[cfg(test)]
17901790
{
17911791
let channels = self.channels.read().unwrap();
17921792
let nodes = self.nodes.read().unwrap();

0 commit comments

Comments
 (0)