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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2019-09-12 09:53:12 +09:30
parent 2577ad87d5
commit 768d293149
1 changed files with 1 additions and 4 deletions

View File

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