Use correct input sequence for HTLC claims from counterparty commitments
[rust-lightning] / lightning / src / ln / msgs.rs
index c617d97fe52705c8673c6f4a68f331bb8ed644a6..e4cc1f1955fe65ccacc62d9efc97c85ab94968af 100644 (file)
@@ -631,7 +631,8 @@ pub struct UpdateAddHTLC {
 pub struct OnionMessage {
        /// Used in decrypting the onion packet's payload.
        pub blinding_point: PublicKey,
-       pub(crate) onion_routing_packet: onion_message::Packet,
+       /// The full onion packet including hop data, pubkey, and hmac
+       pub onion_routing_packet: onion_message::Packet,
 }
 
 /// An [`update_fulfill_htlc`] message to be sent to or received from a peer.