Fix PaymentConstraints::max_cltv_expiry docs
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 20 Oct 2023 01:32:00 +0000 (20:32 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 20 Oct 2023 14:51:31 +0000 (09:51 -0500)
lightning/src/blinded_path/payment.rs

index 39f16a91692cb30fb1be087191b4c32a506de830..4edfb7d8de05bf0e0187941cc91bf4f646fe5557 100644 (file)
@@ -89,8 +89,7 @@ pub struct PaymentRelay {
 /// [`BlindedHop`]: crate::blinded_path::BlindedHop
 #[derive(Clone, Debug)]
 pub struct PaymentConstraints {
-       /// The maximum total CLTV delta that is acceptable when relaying a payment over this
-       /// [`BlindedHop`].
+       /// The maximum total CLTV that is acceptable when relaying a payment over this [`BlindedHop`].
        pub max_cltv_expiry: u32,
        /// The minimum value, in msat, that may be accepted by the node corresponding to this
        /// [`BlindedHop`].