Skip to content

Commit 7db8052

Browse files
f comment
1 parent 8ca062f commit 7db8052

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning-invoice/src/payment.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ pub trait Payer {
271271
/// [`Router`]: lightning::routing::router::Router
272272
pub trait ScoringRouter: Router {
273273
/// Finds a [`Route`] between `payer` and `payee` for a payment with the given values. Includes
274-
/// `PaymentHash` and `PaymentId` in case the underlying implementation wants to look up a
275-
/// precomputed route for probing.
274+
/// `PaymentHash` and `PaymentId` to be able to correlate the request with a specific payment.
276275
fn find_route_with_id(
277276
&self, payer: &PublicKey, route_params: &RouteParameters,
278277
first_hops: Option<&[&ChannelDetails]>, inflight_htlcs: InFlightHtlcs,

0 commit comments

Comments
 (0)