mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
pay, wallet: rename internal bolt11 vars to invstring.
And handle bolt12 strings if EXPERIMENTAL_FEATURES. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
4c4288e3e5
commit
a33e39b7e8
@@ -254,9 +254,13 @@ struct payment {
|
||||
* true. Set only on the root payment. */
|
||||
bool abort;
|
||||
|
||||
/* Serialized bolt11 string, kept attachd to the root so we can filter
|
||||
/* Serialized bolt11/12 string, kept attachd to the root so we can filter
|
||||
* by the invoice. */
|
||||
const char *bolt11;
|
||||
const char *invstring;
|
||||
|
||||
/* 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;
|
||||
|
||||
/* Textual explanation of why this payment was attempted. */
|
||||
const char *why;
|
||||
|
||||
Reference in New Issue
Block a user