projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Impl Base AMP in the receive pipeline and expose payment_secret
[rust-lightning]
/
lightning
/
src
/
util
/
ser.rs
diff --git
a/lightning/src/util/ser.rs
b/lightning/src/util/ser.rs
index 96f8cea04c925985925058b51c664d1ef773a289..e773c4f2d9c9294aa548cbb01fb02a75a480bfac 100644
(file)
--- a/
lightning/src/util/ser.rs
+++ b/
lightning/src/util/ser.rs
@@
-57,7
+57,7
@@
impl<'a, W: Writer + 'a> Write for WriterWriteAdaptor<'a, W> {
}
}
-
struct VecWriter(
Vec<u8>);
+
pub(crate) struct VecWriter(pub
Vec<u8>);
impl Writer for VecWriter {
fn write_all(&mut self, buf: &[u8]) -> Result<(), ::std::io::Error> {
self.0.extend_from_slice(buf);