From f52b617c121eed193ac9c2d4feee10040b669686 Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Fri, 16 Apr 2021 15:26:38 -0400 Subject: [PATCH] Expose Features::from_le_bytes() method Useful for constructing features objects from raw feature bytes. --- lightning/src/ln/features.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lightning/src/ln/features.rs b/lightning/src/ln/features.rs index 259bda85e..4a9526aff 100644 --- a/lightning/src/ln/features.rs +++ b/lightning/src/ln/features.rs @@ -427,7 +427,6 @@ impl Features { Features:: { flags, mark: PhantomData, } } - #[cfg(test)] /// Create a Features given a set of flags, in LE. pub fn from_le_bytes(flags: Vec) -> Features { Features { -- 2.39.5