We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd6c1f4 commit 996ff0bCopy full SHA for 996ff0b
lightning/src/ln/msgs.rs
@@ -2781,13 +2781,12 @@ impl Writeable for OutboundTrampolinePayload {
2781
p.inner_blinded_path().encode().into_iter().chain(p.payinfo.encode())
2782
}).collect();
2783
let blinded_path_tlv = (22, blinded_path_value);
2784
- let custom_tlvs: Vec<&(u64, Vec<u8>)> = core::iter::once(blinded_path_tlv).collect();
2785
2786
_encode_varint_length_prefixed_tlv!(w, {
2787
(2, HighZeroBytesDroppedBigSize(*amt_to_forward), required),
2788
(4, HighZeroBytesDroppedBigSize(*outgoing_cltv_value), required),
2789
(21, invoice_features.as_ref().map(|m| WithoutLength(m)), option)
2790
- }, custom_tlvs.iter());
+ }, [&blinded_path_tlv]);
2791
},
2792
}
2793
Ok(())
0 commit comments