mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-06 05:49:30 +01:00
aa441e3b27
We have to handle singletons which are arrays of variable-length entries: this needs to be a ptr-to-ptr. ```C struct blinded_payinfo { u32 fee_base_msat; u32 fee_proportional_millionths; u16 cltv_expiry_delta; u8 *features; }; ``` Before: ```C struct tlv_invoice_tlvs { ... struct blinded_payinfo *blindedpay; ``` After: ```C struct tlv_invoice_tlvs { ... struct blinded_payinfo **blindedpay; ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
header_template | ||
impl_template | ||
print_header_template | ||
print_impl_template |