From 3371168d54edee4f1c358d57f7f5d104f89b6b07 Mon Sep 17 00:00:00 2001 From: Igor Cota Date: Wed, 28 Feb 2018 17:26:19 +0100 Subject: [PATCH] Add bolt11 to the invoice struct. We store this in case an RPC client asks for it --- wallet/wallet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wallet/wallet.h b/wallet/wallet.h index 3f316c9cc..38076a55e 100644 --- a/wallet/wallet.h +++ b/wallet/wallet.h @@ -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 */