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; }