From 5e5f5923690d61793915c3992656c1c3eab706e1 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 10 Aug 2023 09:31:19 +0930 Subject: [PATCH] renepay: remove unused result member. Signed-off-by: Rusty Russell --- plugins/renepay/payment.c | 1 - plugins/renepay/payment.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/plugins/renepay/payment.c b/plugins/renepay/payment.c index 5216b808c..7bb5b257f 100644 --- a/plugins/renepay/payment.c +++ b/plugins/renepay/payment.c @@ -61,7 +61,6 @@ struct payment *payment_new(const tal_t *ctx, p->use_shadow = use_shadow; p->groupid=1; - p->result = NULL; p->local_gossmods = gossmap_localmods_new(p); p->disabled = tal_arr(p,struct short_channel_id,0); p->rexmit_timer = NULL; diff --git a/plugins/renepay/payment.h b/plugins/renepay/payment.h index 80c52d907..fff94dea5 100644 --- a/plugins/renepay/payment.h +++ b/plugins/renepay/payment.h @@ -108,8 +108,6 @@ struct payment { /* Groupid, so listpays() can group them back together */ u64 groupid; - - struct command_result * result; };