mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
bolt12: use spec field names, update decode API.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
fdb3d9186a
commit
ef2f4a0648
@@ -1136,7 +1136,7 @@ static struct command_result *json_fetchinvoice(struct command *cmd,
|
||||
invreq->invreq_features
|
||||
= plugin_feature_set(cmd->plugin)->bits[BOLT12_OFFER_FEATURE];
|
||||
|
||||
/* invreq->payer_note is not a nul-terminated string! */
|
||||
/* invreq->invreq_payer_note is not a nul-terminated string! */
|
||||
if (payer_note)
|
||||
invreq->invreq_payer_note = tal_dup_arr(invreq, utf8,
|
||||
payer_note,
|
||||
|
||||
Reference in New Issue
Block a user