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 f9a1fe0 commit f4c8340Copy full SHA for f4c8340
lightning-types/src/features.rs
@@ -713,6 +713,11 @@ impl Bolt11InvoiceFeatures {
713
self.to_context_internal()
714
}
715
716
+ /// Accessor for flags
717
+ pub fn flags(&self) -> &Vec<u8> {
718
+ &self.flags
719
+ }
720
+
721
/// Getting a route for a keysend payment to a private node requires providing the payee's
722
/// features (since they were not announced in a node announcement). However, keysend payments
723
/// don't have an invoice to pull the payee's features from, so this method is provided for use
0 commit comments