Skip to content

Commit a950b8f

Browse files
committed
f - clarify docs
1 parent b69fa99 commit a950b8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/routing/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ use routing::network_graph::NodeId;
1919
///
2020
/// Scoring is in terms of fees willing to be paid in order to avoid routing through a channel.
2121
pub trait Score {
22-
/// Returns the fee in msats willing to be paid to avoid routing through the given channel.
22+
/// Returns the fee in msats willing to be paid to avoid routing through the given channel from
23+
/// `source` to `destination`.
2324
fn channel_penalty_msat(
2425
&self, short_channel_id: u64, source: &NodeId, destination: &NodeId
2526
) -> u64;

0 commit comments

Comments
 (0)