mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
plugins/pay: send payment_metadata if provided in invoice.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: Protocol: `pay` (and decode, etc) supports bolt11 payment_metadata a-la https://github.com/lightning/bolts/pull/912
This commit is contained in:
@@ -180,6 +180,9 @@ struct payment {
|
||||
/* Payment secret, from the invoice if any. */
|
||||
struct secret *payment_secret;
|
||||
|
||||
/* Payment metadata, from the invoice if any. */
|
||||
u8 *payment_metadata;
|
||||
|
||||
u64 groupid;
|
||||
u32 partid;
|
||||
u32 next_partid;
|
||||
|
||||
Reference in New Issue
Block a user