projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1455452
)
Avoid unnecessarily overriding `serialized_length`
author
Matt Corallo
<git@bluematt.me>
Sat, 4 Nov 2023 16:21:29 +0000
(16:21 +0000)
committer
Matt Corallo
<git@bluematt.me>
Sat, 4 Nov 2023 16:21:29 +0000
(16:21 +0000)
...as LLVM will handle it just fine for us, in most cases.
lightning/src/ln/script.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/script.rs
b/lightning/src/ln/script.rs
index 6c1d2102400786d41a124eafd26db70903bb82d2..079416eae77d29dcca818256950451a4b835eb7a 100644
(file)
--- a/
lightning/src/ln/script.rs
+++ b/
lightning/src/ln/script.rs
@@
-44,10
+44,6
@@
impl Writeable for ShutdownScript {
fn write<W: Writer>(&self, w: &mut W) -> Result<(), io::Error> {
self.0.write(w)
}
-
- fn serialized_length(&self) -> usize {
- self.0.serialized_length()
- }
}
impl Readable for ShutdownScript {