Skip to content

Commit

Permalink
Upgrade bech32 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
optout21 committed Aug 23, 2024
1 parent f9a1fe0 commit f4c8340
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lightning-types/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,11 @@ impl Bolt11InvoiceFeatures {
self.to_context_internal()
}

/// Accessor for flags
pub fn flags(&self) -> &Vec<u8> {
&self.flags
}

/// Getting a route for a keysend payment to a private node requires providing the payee's
/// features (since they were not announced in a node announcement). However, keysend payments
/// don't have an invoice to pull the payee's features from, so this method is provided for use
Expand Down

0 comments on commit f4c8340

Please sign in to comment.