Skip to content

Commit 513534f

Browse files
committed
f serialization (no vec)
1 parent 9a76b6f commit 513534f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/msgs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2778,7 +2778,7 @@ impl Writeable for OutboundTrampolinePayload {
27782778
},
27792779
Self::BlindedForward { amt_to_forward, outgoing_cltv_value, payment_paths, invoice_features } => {
27802780
let blinded_path_value: Vec<u8> = payment_paths.iter().flat_map(|p| {
2781-
p.inner_blinded_path().encode().into_iter().chain(p.payinfo.encode()).collect::<Vec<u8>>()
2781+
p.inner_blinded_path().encode().into_iter().chain(p.payinfo.encode())
27822782
}).collect();
27832783
let blinded_path_tlv = (22, blinded_path_value);
27842784

0 commit comments

Comments
 (0)