From: Jeffrey Czyz Date: Wed, 20 Dec 2023 20:32:53 +0000 (-0600) Subject: Add Features::clear_route_blinding for testing X-Git-Tag: v0.0.123-beta~93^2~5 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e40387fc856d9b62bb89d37df139d0310459eb82;p=rust-lightning Add Features::clear_route_blinding for testing --- 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 {