Skip to content

Commit 293556a

Browse files
committed
f simplified comment
1 parent 01aeba1 commit 293556a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning-invoice/src/utils.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,7 @@ fn filter_channels(mut channels: Vec<ChannelDetails>, min_inbound_capacity_msat:
434434
// If all channels are private, return the route hint for the highest inbound capacity channel
435435
// per counterparty node. If channels with an higher inbound capacity than the
436436
// min_inbound_capacity exists, filter out the channels with a lower capacity than that.
437-
// Further, if channels which we are connected to the peer for exist, only return such
438-
// channels.
437+
// Further, if we are connected to our peer for any channels, only return those.
439438
filtered_channels.into_iter()
440439
.filter(|(_counterparty_id, channel)| {
441440
if min_capacity_channel_exists {

0 commit comments

Comments
 (0)