]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Serialize SocketAddress vectors.
authorArik Sosman <git@arik.io>
Thu, 29 Feb 2024 07:21:53 +0000 (23:21 -0800)
committerArik Sosman <git@arik.io>
Thu, 29 Feb 2024 07:21:53 +0000 (23:21 -0800)
lightning/src/util/ser.rs

index c24a99f8f97109dde673a59eb7fbb28200a6e3b9..7447c92d4be8b61abc23b0527d458796687bd29e 100644 (file)
@@ -847,6 +847,7 @@ impl Readable for Vec<u8> {
 impl_for_vec!(ecdsa::Signature);
 impl_for_vec!(crate::chain::channelmonitor::ChannelMonitorUpdate);
 impl_for_vec!(crate::ln::channelmanager::MonitorUpdateCompletionAction);
+impl_for_vec!(crate::ln::msgs::SocketAddress);
 impl_for_vec!((A, B), A, B);
 impl_writeable_for_vec!(&crate::routing::router::BlindedTail);
 impl_readable_for_vec!(crate::routing::router::BlindedTail);