Skip to content

Commit f52b617

Browse files
Expose Features::from_le_bytes() method
Useful for constructing features objects from raw feature bytes.
1 parent 2cbe4a0 commit f52b617

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lightning/src/ln/features.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,6 @@ impl<T: sealed::Context> Features<T> {
427427
Features::<C> { flags, mark: PhantomData, }
428428
}
429429

430-
#[cfg(test)]
431430
/// Create a Features given a set of flags, in LE.
432431
pub fn from_le_bytes(flags: Vec<u8>) -> Features<T> {
433432
Features {

0 commit comments

Comments
 (0)