Skip to content

Commit e09afaf

Browse files
committed
Avoid unnecessarily overriding serialized_length
...as LLVM will handle it just fine for us, in most cases.
1 parent 1455452 commit e09afaf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lightning/src/ln/script.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ impl Writeable for ShutdownScript {
4444
fn write<W: Writer>(&self, w: &mut W) -> Result<(), io::Error> {
4545
self.0.write(w)
4646
}
47-
48-
fn serialized_length(&self) -> usize {
49-
self.0.serialized_length()
50-
}
5147
}
5248

5349
impl Readable for ShutdownScript {

0 commit comments

Comments
 (0)