From e40387fc856d9b62bb89d37df139d0310459eb82 Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Wed, 20 Dec 2023 14:32:53 -0600 Subject: [PATCH] Add Features::clear_route_blinding for testing --- lightning/src/ln/features.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lightning/src/ln/features.rs b/lightning/src/ln/features.rs index 2e732b17a..79f869a4c 100644 --- a/lightning/src/ln/features.rs +++ b/lightning/src/ln/features.rs @@ -932,6 +932,13 @@ impl Features { } } +impl Features { + #[cfg(test)] + pub(crate) fn clear_route_blinding(&mut self) { + ::clear_bits(&mut self.flags); + } +} + #[cfg(test)] impl Features { pub(crate) fn unknown() -> Self { -- 2.39.5