wire: update to slight spec neating.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2025-09-29 13:21:37 +09:30
parent 5e53af7d3f
commit 512f328730
4 changed files with 9 additions and 9 deletions

View File

@@ -723,8 +723,8 @@ static struct command_result *invreq_done(struct command *cmd,
/* BOLT-recurrence #12:
* - if `offer_recurrence_limit` is present:
* - MUST NOT send an `invoice_request` for a period greater than
* `max_period`
* - MUST NOT send an `invoice_request` for a period index greater than
* `max_period_index`
*/
if (sent->invreq->offer_recurrence_limit
&& period_idx > *sent->invreq->offer_recurrence_limit)