mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
pay/sendpay: also store description in case bolt11 uses description_hash.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -259,6 +259,9 @@ struct payment {
|
||||
* by the invoice. */
|
||||
const char *invstring;
|
||||
|
||||
/* Description, usually set if bolt11 has only description_hash */
|
||||
const char *description;
|
||||
|
||||
/* If this is paying a local offer, this is the one (sendpay ensures we
|
||||
* don't pay twice for single-use offers) */
|
||||
struct sha256 *local_offer_id;
|
||||
|
||||
Reference in New Issue
Block a user