projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b06a5af
)
f
author
Matt Corallo
<git@bluematt.me>
Mon, 31 May 2021 23:37:58 +0000
(23:37 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 1 Jun 2021 16:22:51 +0000
(16:22 +0000)
lightning/src/util/ser.rs
patch
|
blob
|
history
diff --git
a/lightning/src/util/ser.rs
b/lightning/src/util/ser.rs
index 06578b9fba5b3d4e667dbe34c44038d3873a1212..a49b033db3d51010073260f8d0023dac5e6a5c1c 100644
(file)
--- a/
lightning/src/util/ser.rs
+++ b/
lightning/src/util/ser.rs
@@
-260,6
+260,7
@@
impl<'a, T: Writeable> Writeable for VecWriteWrapper<'a, T> {
Ok(())
}
}
+
/// Wrapper to read elements from a given stream until it reaches the end of the stream.
pub(crate) struct VecReadWrapper<T: Readable>(pub Vec<T>);
impl<T: Readable> Readable for VecReadWrapper<T> {