Skip to content

Commit

Permalink
Add docs for new fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 committed Nov 13, 2024
1 parent 11c6812 commit 8da4455
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/sdk-common/src/invoice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ impl From<lightning::offers::offer::Amount> for Amount {

#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
pub struct LNOffer {
/// String representation of the Bolt12 offer
pub bolt12: String,
pub chains: Vec<String>,
/// If set, it represents the minimum amount that an invoice must have to be valid for this offer
pub amount: Option<Amount>,
pub description: Option<String>,
pub absolute_expiry: Option<u64>,
Expand Down

0 comments on commit 8da4455

Please sign in to comment.