mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
gossipd: ignore redundant node_announcement in gossip_store.
Don't know how this is happening, but it is not harmful to ignore it for now. Fixes: #6531 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
0281111ca1
commit
846cec4f2a
1 changed files with 3 additions and 2 deletions
|
@ -926,8 +926,9 @@ u32 gossip_store_load(struct routing_state *rstate, struct gossip_store *gs)
|
|||
if (!routing_add_node_announcement(rstate,
|
||||
take(msg), gs->len,
|
||||
NULL, NULL, spam)) {
|
||||
bad = "Bad node_announcement";
|
||||
goto badmsg;
|
||||
/* FIXME: This has been reported: routing.c
|
||||
* has logged, so ignore. */
|
||||
break;
|
||||
}
|
||||
stats[2]++;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue