@@ -19,25 +19,25 @@ use core::convert::TryFrom;
19
19
/// Data to construct a [`BlindedHop`] for forwarding a payment.
20
20
pub struct ForwardTlvs {
21
21
/// The short channel id this payment should be forwarded out over.
22
- short_channel_id : u64 ,
22
+ pub short_channel_id : u64 ,
23
23
/// Payment parameters for relaying over [`Self::short_channel_id`].
24
- payment_relay : PaymentRelay ,
24
+ pub payment_relay : PaymentRelay ,
25
25
/// Payment constraints for relaying over [`Self::short_channel_id`].
26
- payment_constraints : PaymentConstraints ,
26
+ pub payment_constraints : PaymentConstraints ,
27
27
/// Supported and required features when relaying a payment onion containing this object's
28
28
/// corresponding [`BlindedHop::encrypted_payload`].
29
29
///
30
30
/// [`BlindedHop::encrypted_payload`]: crate::blinded_path::BlindedHop::encrypted_payload
31
- features : BlindedHopFeatures ,
31
+ pub features : BlindedHopFeatures ,
32
32
}
33
33
34
34
/// Data to construct a [`BlindedHop`] for receiving a payment. This payload is custom to LDK and
35
35
/// may not be valid if received by another lightning implementation.
36
36
pub struct ReceiveTlvs {
37
37
/// Used to authenticate the sender of a payment to the receiver and tie MPP HTLCs together.
38
- payment_secret : PaymentSecret ,
38
+ pub payment_secret : PaymentSecret ,
39
39
/// Constraints for the receiver of this payment.
40
- payment_constraints : PaymentConstraints ,
40
+ pub payment_constraints : PaymentConstraints ,
41
41
}
42
42
43
43
/// Data to construct a [`BlindedHop`] for sending a payment over.
0 commit comments