X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Ffeatures.rs;h=0ccce88e9f5d71743530a441504ac7c18b1da6a2;hb=1a734492d955e61d43eab4407dd65f556e87ca96;hp=dab841327802fc8ae3ee0c869395a7ce378c4148;hpb=cd4dc39a8c4732bea1a3221617f86e34dfb7efb8;p=rust-lightning diff --git a/lightning/src/ln/features.rs b/lightning/src/ln/features.rs index dab84132..0ccce88e 100644 --- a/lightning/src/ln/features.rs +++ b/lightning/src/ln/features.rs @@ -500,10 +500,10 @@ impl InvoiceFeatures { /// Getting a route for a keysend payment to a private node requires providing the payee's /// features (since they were not announced in a node announcement). However, keysend payments /// don't have an invoice to pull the payee's features from, so this method is provided for use in - /// [`Payee::for_keysend`], thus omitting the need for payers to manually construct an + /// [`PaymentParameters::for_keysend`], thus omitting the need for payers to manually construct an /// `InvoiceFeatures` for [`find_route`]. /// - /// [`Payee::for_keysend`]: crate::routing::router::Payee::for_keysend + /// [`PaymentParameters::for_keysend`]: crate::routing::router::PaymentParameters::for_keysend /// [`find_route`]: crate::routing::router::find_route pub(crate) fn for_keysend() -> InvoiceFeatures { InvoiceFeatures::empty().set_variable_length_onion_optional()