Skip to content

Commit e9f146b

Browse files
committed
Make LengthReadable public
A followup commit will require that LengthReadable be accessible from outside the lightning crate, as it will be the default trait referenced for TLV stream decoding.
1 parent 31b32c5 commit e9f146b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/util/ser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ where
363363

364364
/// A trait that various higher-level LDK types implement allowing them to be read in
365365
/// from a [`Read`], requiring the implementer to provide the total length of the read.
366-
pub(crate) trait LengthReadable
366+
pub trait LengthReadable
367367
where
368368
Self: Sized,
369369
{

0 commit comments

Comments
 (0)