Skip to content

Commit 129c25e

Browse files
committed
f - remove serialized_length
1 parent fe3ddd6 commit 129c25e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lightning/src/util/ser.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -769,10 +769,6 @@ impl Writeable for ecdsa::Signature {
769769
fn write<W: Writer>(&self, w: &mut W) -> Result<(), io::Error> {
770770
self.serialize_compact().write(w)
771771
}
772-
#[inline]
773-
fn serialized_length(&self) -> usize {
774-
COMPACT_SIGNATURE_SIZE
775-
}
776772
}
777773

778774
impl Readable for ecdsa::Signature {
@@ -789,10 +785,6 @@ impl Writeable for schnorr::Signature {
789785
fn write<W: Writer>(&self, w: &mut W) -> Result<(), io::Error> {
790786
self.as_ref().write(w)
791787
}
792-
#[inline]
793-
fn serialized_length(&self) -> usize {
794-
SCHNORR_SIGNATURE_SIZE
795-
}
796788
}
797789

798790
impl Readable for schnorr::Signature {

0 commit comments

Comments
 (0)