From 768d2931497a85889003c594cb71cf596259e0db Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 12 Sep 2019 09:53:12 +0930 Subject: [PATCH] gossipd: don't get upset if we can't add channel_update. In particular, the timestamp might be wrong once we start checking that. Signed-off-by: Rusty Russell --- gossipd/routing.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gossipd/routing.c b/gossipd/routing.c index 61deed091..f4fa24700 100644 --- a/gossipd/routing.c +++ b/gossipd/routing.c @@ -2097,10 +2097,7 @@ u8 *handle_channel_update(struct routing_state *rstate, const u8 *update TAKES, channel_flags & ROUTING_FLAGS_DISABLED ? "DISABLED" : "ACTIVE", source); - if (!routing_add_channel_update(rstate, serialized, 0)) - status_failed(STATUS_FAIL_INTERNAL_ERROR, - "Failed adding channel_update"); - + routing_add_channel_update(rstate, take(serialized), 0); return NULL; }