Skip to content

Commit 29c389c

Browse files
committed
Upgrade bech32 dependency
1 parent 61431f8 commit 29c389c

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
@@ -717,6 +717,11 @@ impl Bolt11InvoiceFeatures {
717717
self.to_context_internal()
718718
}
719719

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

0 commit comments

Comments
 (0)