Skip to content

Commit 6d17110

Browse files
committed
f rename fn 2
1 parent 1cc210d commit 6d17110

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning/src/chain/chainmonitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ where C::Target: chain::Filter,
253253
///
254254
/// Note that [`ChannelMonitor`]s are not removed when a channel is closed as they are always
255255
/// monitoring for on-chain state resolutions.
256-
pub fn list_current_monitors(&self) -> Vec<OutPoint> {
256+
pub fn list_monitors(&self) -> Vec<OutPoint> {
257257
self.monitors.read().unwrap().keys().map(|outpoint| *outpoint).collect()
258258
}
259259

lightning/src/ln/functional_test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ impl<'a, 'b, 'c> Drop for Node<'a, 'b, 'c> {
274274
let feeest = test_utils::TestFeeEstimator { sat_per_kw: Mutex::new(253) };
275275
let mut deserialized_monitors = Vec::new();
276276
{
277-
for outpoint in self.chain_monitor.chain_monitor.list_current_monitors() {
277+
for outpoint in self.chain_monitor.chain_monitor.list_monitors() {
278278
let mut w = test_utils::TestVecWriter(Vec::new());
279279
self.chain_monitor.chain_monitor.get_monitor(outpoint).unwrap().write(&mut w).unwrap();
280280
let (_, deserialized_monitor) = <(BlockHash, ChannelMonitor<EnforcingSigner>)>::read(

0 commit comments

Comments
 (0)