Skip to content

Commit c35adff

Browse files
authored
Merge pull request #3388 from TheBlueMatt/2024-10-counter-test
Add additional test coverage of `NetworkGraph` counters
2 parents 1e52c33 + ff93668 commit c35adff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/routing/gossip.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,6 +2089,10 @@ where
20892089
};
20902090
}
20912091

2092+
core::mem::drop(nodes);
2093+
core::mem::drop(channels);
2094+
self.test_node_counter_consistency();
2095+
20922096
Ok(())
20932097
}
20942098

0 commit comments

Comments
 (0)