global: update BOLT12 quotes.
This is a final sweep to match the current BOLT12 text:
1563d13999d342680140c693de0b9d65aa522372 ("More bolt12 test vectors.")
Only two code changes, to change the order of checks to match the bolt,
and to give a warning on decode if a path is empty.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -745,7 +745,7 @@ struct command_result *json_invoicerequest(struct command *cmd,
|
||||
/* BOLT-offers #12:
|
||||
* - otherwise (not responding to an offer):
|
||||
*...
|
||||
* - MUST set `invreq_payer_id` as it would set `offer_issuer_id` for an offer.
|
||||
* - MUST set `invreq_payer_id` (as it would set `offer_issuer_id` for an offer).
|
||||
*/
|
||||
/* FIXME: Allow invoicerequests using aliases! */
|
||||
invreq->invreq_payer_id = tal_dup(invreq, struct pubkey, &id);
|
||||
|
||||
Reference in New Issue
Block a user