Skip to content

Commit 846cec4

Browse files
committed
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 <[email protected]>
1 parent 0281111 commit 846cec4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gossipd/gossip_store.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,8 +926,9 @@ u32 gossip_store_load(struct routing_state *rstate, struct gossip_store *gs)
926926
if (!routing_add_node_announcement(rstate,
927927
take(msg), gs->len,
928928
NULL, NULL, spam)) {
929-
bad = "Bad node_announcement";
930-
goto badmsg;
929+
/* FIXME: This has been reported: routing.c
930+
* has logged, so ignore. */
931+
break;
931932
}
932933
stats[2]++;
933934
break;

0 commit comments

Comments
 (0)