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.
Vec
1 parent ea54ac0 commit afc76d5Copy full SHA for afc76d5
lightning/src/ln/outbound_payment.rs
@@ -573,7 +573,7 @@ impl RecipientOnionFields {
573
/// Note that if this field is non-empty, it will contain strictly increasing TLVs, each
574
/// represented by a `(u64, Vec<u8>)` for its type number and serialized value respectively.
575
/// This is validated when setting this field using [`Self::with_custom_tlvs`].
576
- pub fn custom_tlvs(&self) -> &Vec<(u64, Vec<u8>)> {
+ pub fn custom_tlvs(&self) -> &[(u64, Vec<u8>)] {
577
&self.custom_tlvs
578
}
579
0 commit comments