mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
routing: Suppress UNUSUAL log message for UPDATE failcodes from local.
This commit is contained in:
parent
d5effcb961
commit
fecfd55e06
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue