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