renepay: remove unused all_flows field.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2023-08-09 11:44:58 +09:30
parent d8d2032ba5
commit b5273610b2
2 changed files with 0 additions and 4 deletions

View file

@ -55,7 +55,6 @@ struct renepay * renepay_new(struct command *cmd)
renepay->rexmit_timer = NULL;
renepay->next_attempt=1;
renepay->next_partid=1;
renepay->all_flows = tal(renepay,tal_t);
return renepay;
}

View file

@ -124,9 +124,6 @@ struct renepay
int next_attempt;
/* Used in get_payflows to set ids to each pay_flow. */
u64 next_partid;
/* Root to destroy pending flows */
tal_t *all_flows;
};
struct payment * payment_new(struct renepay *renepay);