mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
routing: Suppress UNUSUAL log message for UPDATE failcodes from local.
This commit is contained in:
parent
d5effcb961
commit
fecfd55e06
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user