Skip to content

Commit e36a198

Browse files
committed
f new fn name
1 parent f3b0f77 commit e36a198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3604,7 +3604,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
36043604
});
36053605
}
36063606

3607-
fn timeout_resolved_payments(&self) {
3607+
fn remove_stale_resolved_payments(&self) {
36083608
// If an outbound payment was completed, and no pending HTLCs remain, we should remove it
36093609
// from the map. However, if we did that immediately when the payment completes, this could
36103610
// race the user sending a duplicate payment (and relying on our idempotency guarantees on
@@ -3746,7 +3746,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
37463746
let _ = handle_error!(self, err, counterparty_node_id);
37473747
}
37483748

3749-
self.timeout_resolved_payments();
3749+
self.remove_stale_resolved_payments();
37503750

37513751
should_persist
37523752
});

0 commit comments

Comments
 (0)