Skip to content

Commit 8cf4369

Browse files
committed
Serialize RouteHop vec [rephrase]
Necessary to store them in PendingHTLCRouting…
1 parent c4d23bc commit 8cf4369

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/util/ser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,7 @@ impl_for_vec!(crate::ln::msgs::SocketAddress);
10811081
impl_for_vec!((A, B), A, B);
10821082
impl_writeable_for_vec!(&crate::routing::router::BlindedTail);
10831083
impl_readable_for_vec!(crate::routing::router::BlindedTail);
1084+
impl_for_vec!(crate::routing::router::RouteHop);
10841085
impl_for_vec!(crate::routing::router::TrampolineHop);
10851086
impl_for_vec_with_element_length_prefix!(crate::ln::msgs::UpdateAddHTLC);
10861087
impl_writeable_for_vec_with_element_length_prefix!(&crate::ln::msgs::UpdateAddHTLC);

0 commit comments

Comments
 (0)