diff --git a/plugins/renepay/payment.h b/plugins/renepay/payment.h index b59eaad95..159028369 100644 --- a/plugins/renepay/payment.h +++ b/plugins/renepay/payment.h @@ -10,6 +10,9 @@ enum payment_status { struct payment { + /* Inside pay_plugin->payments list */ + struct list_node list; + struct renepay * renepay; /* Chatty description of attempts. */ @@ -56,9 +59,6 @@ struct payment { u32 final_cltv; - /* Inside pay_plugin->payments list */ - struct list_node list; - /* Description and labels, if any. */ const char *description, *label;