Skip to content

Commit de210c9

Browse files
committed
f fix comment
1 parent 5a65c63 commit de210c9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lightning/src/routing/gossip.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -707,11 +707,13 @@ pub struct ChannelInfo {
707707
/// (which we can probably assume we are - no-std environments probably won't have a full
708708
/// network graph in memory!).
709709
announcement_received_time: u64,
710-
// Lowest fees to enter the first direction, based on the cheapest channel to the source node.
711-
// Both fees correspond to the same channel.
710+
/// Lowest fees to enter the first direction, based on the cheapest channel to the source node.
711+
/// The two fields (flat and proportional fee) are independent,
712+
/// meaning they don't have to refer to the same channel.
712713
pub lowest_inbound_channel_fees_to_one: Option<RoutingFees>,
713-
// Lowest fees to enter the second direction, based on the cheapest channel to the source node.
714-
// Both fees correspond to the same channel.
714+
/// Lowest fees to enter the second direction, based on the cheapest channel to the source node.
715+
/// The two fields (flat and proportional fee) are independent,
716+
/// meaning they don't have to refer to the same channel.
715717
pub lowest_inbound_channel_fees_to_two: Option<RoutingFees>,
716718
}
717719

0 commit comments

Comments
 (0)