Disable MPP routing when the payee does not support it
[rust-lightning] / lightning / src / ln / features.rs
index efed0b10ed2ae72935f9742b1f4594ed0e90100b..488d6d70f5768ffde2d0af6afd80707a595625c9 100644 (file)
@@ -574,7 +574,6 @@ impl<T: sealed::BasicMPP> Features<T> {
                <T as sealed::BasicMPP>::requires_feature(&self.flags)
        }
        // We currently never test for this since we don't actually *generate* multipath routes.
-       #[allow(dead_code)]
        pub(crate) fn supports_basic_mpp(&self) -> bool {
                <T as sealed::BasicMPP>::supports_feature(&self.flags)
        }