move static channelmanager functions into their own file
[rust-lightning] / lightning / src / ln / msgs.rs
index d5529e98ba013c4f8d2118edb5de4bebb82470df..b2825df4a9cdd606389c5cbfad640d607ba78b5f 100644 (file)
@@ -680,7 +680,8 @@ pub struct UpdateAddHTLC {
        ///
        /// [`ChannelConfig::accept_underpaying_htlcs`]: crate::util::config::ChannelConfig::accept_underpaying_htlcs
        pub skimmed_fee_msat: Option<u64>,
-       pub(crate) onion_routing_packet: OnionPacket,
+       /// The onion routing packet with encrypted data for the next hop.
+       pub onion_routing_packet: OnionPacket,
 }
 
  /// An onion message to be sent to or received from a peer.