mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Add bolt11 to the invoice struct.
We store this in case an RPC client asks for it
This commit is contained in:
parent
2bb9797ddb
commit
3371168d54
@ -388,6 +388,8 @@ struct invoice_details {
|
||||
u64 msatoshi_received;
|
||||
/* Set if state == PAID; time paid */
|
||||
u64 paid_timestamp;
|
||||
/* BOLT11 encoding for this invoice */
|
||||
const char *bolt11;
|
||||
};
|
||||
|
||||
/* An object that handles iteration over the set of invoices */
|
||||
|
Loading…
Reference in New Issue
Block a user