Skip to content

Commit f4c8340

Browse files
committed
Upgrade bech32 dependency
1 parent f9a1fe0 commit f4c8340

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
@@ -713,6 +713,11 @@ impl Bolt11InvoiceFeatures {
713713
self.to_context_internal()
714714
}
715715

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

0 commit comments

Comments
 (0)