mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Fix oops'd docs on PaymentParameters::with_max_channel_saturation
This commit is contained in:
parent
d017657bcd
commit
6b6d549854
1 changed files with 2 additions and 1 deletions
|
@ -687,7 +687,8 @@ impl PaymentParameters {
|
|||
Self { max_path_count, ..self }
|
||||
}
|
||||
|
||||
/// Includes a limit for the maximum number of payment paths that may be used.
|
||||
/// Includes a limit for the maximum share of a channel's total capacity that can be sent over, as
|
||||
/// a power of 1/2. See [`PaymentParameters::max_channel_saturation_power_of_half`].
|
||||
///
|
||||
/// This is not exported to bindings users since bindings don't support move semantics
|
||||
pub fn with_max_channel_saturation_power_of_half(self, max_channel_saturation_power_of_half: u8) -> Self {
|
||||
|
|
Loading…
Add table
Reference in a new issue