Merge pull request #1346 from TheBlueMatt/2022-03-clones
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 674977faaebc2ecd519682ea8f5edb17589fc81b..d206dee4950f3f9908e0cbdd8af6755d485de2a2 100644 (file)
@@ -1322,6 +1322,7 @@ pub enum PaymentSendFailure {
 /// Route hints used in constructing invoices for [phantom node payents].
 ///
 /// [phantom node payments]: crate::chain::keysinterface::PhantomKeysManager
+#[derive(Clone)]
 pub struct PhantomRouteHints {
        /// The list of channels to be included in the invoice route hints.
        pub channels: Vec<ChannelDetails>,