diff --git a/plugins/renepay/mcf.c b/plugins/renepay/mcf.c index deea4d66c..ecf344794 100644 --- a/plugins/renepay/mcf.c +++ b/plugins/renepay/mcf.c @@ -1451,6 +1451,8 @@ get_flow_paths(const tal_t *ctx, const struct gossmap *gossmap, flows[i] = tal_steal(flows,flows[i]); assert(flows[i]); } + if (fail) + *fail = NULL; tal_free(this_ctx); return flows;