Skip to content

Commit 7d19551

Browse files
committed
Upgrade bech32 dependency
1 parent 374b058 commit 7d19551

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning-types/src/features.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,11 @@ impl Bolt11InvoiceFeatures {
719719
self.to_context_internal()
720720
}
721721

722+
/// Accessor for flags
723+
pub fn flags(&self) -> &Vec<u8> {
724+
&self.flags
725+
}
726+
722727
/// Getting a route for a keysend payment to a private node requires providing the payee's
723728
/// features (since they were not announced in a node announcement). However, keysend payments
724729
/// don't have an invoice to pull the payee's features from, so this method is provided for use

0 commit comments

Comments
 (0)