diff --git a/common/gossmap.c b/common/gossmap.c index a4f6fa6bdf5f..8a420c31e0fb 100644 --- a/common/gossmap.c +++ b/common/gossmap.c @@ -1046,7 +1046,8 @@ struct gossmap *gossmap_load(const tal_t *ctx, const char *filename, *num_channel_updates_rejected = 0; map->cupdate_fail = cupdate_fail_inc_ctr; map->cb_arg = num_channel_updates_rejected; - } + } else + map->cupdate_fail = NULL; map->unknown_record = NULL; if (!load_gossip_store(map))