Skip to content

Commit

Permalink
Merge pull request lightningdevkit#3237 from jkczyz/2024-08-offers-ex…
Browse files Browse the repository at this point in the history
…perimental-tlvs

Experimental offer TLVs
  • Loading branch information
jkczyz authored Nov 5, 2024
2 parents 76a93a3 + 169b260 commit cb650a8
Show file tree
Hide file tree
Showing 10 changed files with 1,807 additions and 340 deletions.
518 changes: 451 additions & 67 deletions lightning/src/offers/invoice.rs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lightning/src/offers/invoice_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ macro_rules! invoice_builder_methods_test { (
$return_value
}

#[cfg_attr(c_bindings, allow(dead_code))]
pub(super) fn experimental_baz($($self_mut)* $self: $self_type, experimental_baz: u64) -> $return_type {
$invoice_fields.experimental_baz = Some(experimental_baz);
$return_value
}
} }

macro_rules! invoice_accessors_common { ($self: ident, $contents: expr, $invoice_type: ty) => {
Expand Down
Loading

0 comments on commit cb650a8

Please sign in to comment.