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