Introduce graph sync crate for fast-forwarding through gossip data downloaded from...
[rust-lightning] / lightning / src / util / ser.rs
index 69fd14640ae605bc2d481f40760ee48d3a502eb6..428adbc5e6638b5a0489eeb855d80f7c42f5ce86 100644 (file)
@@ -301,7 +301,7 @@ impl Readable for U48 {
 /// encoded in several different ways, which we must check for at deserialization-time. Thus, if
 /// you're looking for an example of a variable-length integer to use for your own project, move
 /// along, this is a rather poor design.
-pub(crate) struct BigSize(pub u64);
+pub struct BigSize(pub u64);
 impl Writeable for BigSize {
        #[inline]
        fn write<W: Writer>(&self, writer: &mut W) -> Result<(), io::Error> {