Skip to content

Commit 6b6d549

Browse files
Fix oops'd docs on PaymentParameters::with_max_channel_saturation
1 parent d017657 commit 6b6d549

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,8 @@ impl PaymentParameters {
687687
Self { max_path_count, ..self }
688688
}
689689

690-
/// Includes a limit for the maximum number of payment paths that may be used.
690+
/// Includes a limit for the maximum share of a channel's total capacity that can be sent over, as
691+
/// a power of 1/2. See [`PaymentParameters::max_channel_saturation_power_of_half`].
691692
///
692693
/// This is not exported to bindings users since bindings don't support move semantics
693694
pub fn with_max_channel_saturation_power_of_half(self, max_channel_saturation_power_of_half: u8) -> Self {

0 commit comments

Comments
 (0)