From fecfd55e062a2a69514e3f989d1e6f5879f85386 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj Date: Fri, 9 Feb 2018 12:50:42 +0000 Subject: [PATCH] routing: Suppress UNUSUAL log message for UPDATE failcodes from local. --- gossipd/routing.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gossipd/routing.c b/gossipd/routing.c index 36ec09643..756ed15d0 100644 --- a/gossipd/routing.c +++ b/gossipd/routing.c @@ -1264,6 +1264,10 @@ void routing_failure(struct routing_state *rstate, * reactivated. */ if (failcode & UPDATE) { if (tal_len(channel_update) == 0) { + /* Suppress UNUSUAL log if local failure */ + if (structeq(&erring_node_pubkey->pubkey, + &rstate->local_id.pubkey)) + goto out; status_trace("UNUSUAL routing_failure: " "UPDATE bit set, no channel_update. " "failcode: 0x%04x",