Skip to content

Commit 59e24bd

Browse files
Fix inaccurate comment in InvoicePayer
1 parent 6957fb6 commit 59e24bd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lightning-invoice/src/payment.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -606,9 +606,8 @@ where
606606
self.payment_cache.lock().unwrap().remove(payment_hash);
607607
}
608608

609-
/// Given a [`PaymentHash`], this function looks up inflight path attempts in the payment_cache.
610-
/// Then, it uses the path information inside the cache to construct a HashMap mapping a channel's
611-
/// short channel id and direction to the amount being sent through it.
609+
/// Use path information in the payment_cache to construct a HashMap mapping a channel's short
610+
/// channel id and direction to the amount being sent through it.
612611
///
613612
/// This function should be called whenever we need information about currently used up liquidity
614613
/// across payments.

0 commit comments

Comments
 (0)