Add bolt11 to the invoice struct.

We store this in case an RPC client asks for it
This commit is contained in:
Igor Cota 2018-02-28 17:26:19 +01:00 committed by Rusty Russell
parent 2bb9797ddb
commit 3371168d54

View File

@ -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 */