Cfg-gate async payments module and public enum variants.
[rust-lightning] / lightning / src / ln / channelmanager.rs
index f189aee04cf75b2933a5f1508ec065b4b1356104..fe3320a136029fa4a4504ccf906c1f8a2642150e 100644 (file)
@@ -10337,6 +10337,7 @@ where
                                        },
                                }
                        },
+                       #[cfg(async_payments)]
                        OffersMessage::StaticInvoice(_invoice) => {
                                match responder {
                                        Some(responder) => {