@@ -19,25 +19,25 @@ use core::convert::TryFrom;
1919/// Data to construct a [`BlindedHop`] for forwarding a payment.
2020pub struct ForwardTlvs {
2121 /// The short channel id this payment should be forwarded out over.
22- short_channel_id : u64 ,
22+ pub short_channel_id : u64 ,
2323 /// Payment parameters for relaying over [`Self::short_channel_id`].
24- payment_relay : PaymentRelay ,
24+ pub payment_relay : PaymentRelay ,
2525 /// Payment constraints for relaying over [`Self::short_channel_id`].
26- payment_constraints : PaymentConstraints ,
26+ pub payment_constraints : PaymentConstraints ,
2727 /// Supported and required features when relaying a payment onion containing this object's
2828 /// corresponding [`BlindedHop::encrypted_payload`].
2929 ///
3030 /// [`BlindedHop::encrypted_payload`]: crate::blinded_path::BlindedHop::encrypted_payload
31- features : BlindedHopFeatures ,
31+ pub features : BlindedHopFeatures ,
3232}
3333
3434/// Data to construct a [`BlindedHop`] for receiving a payment. This payload is custom to LDK and
3535/// may not be valid if received by another lightning implementation.
3636pub struct ReceiveTlvs {
3737 /// 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 ,
3939 /// Constraints for the receiver of this payment.
40- payment_constraints : PaymentConstraints ,
40+ pub payment_constraints : PaymentConstraints ,
4141}
4242
4343/// Data to construct a [`BlindedHop`] for sending a payment over.
0 commit comments