Skip to content

Commit cb650a8

Browse files
authored
Merge pull request #3237 from jkczyz/2024-08-offers-experimental-tlvs
Experimental offer TLVs
2 parents 76a93a3 + 169b260 commit cb650a8

File tree

10 files changed

+1807
-340
lines changed

10 files changed

+1807
-340
lines changed

lightning/src/offers/invoice.rs

+451-67
Large diffs are not rendered by default.

lightning/src/offers/invoice_macros.rs

+5
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ macro_rules! invoice_builder_methods_test { (
9595
$return_value
9696
}
9797

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

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

0 commit comments

Comments
 (0)