From 463355de59b2df9b5df1088a24d44fdb010ca5b5 Mon Sep 17 00:00:00 2001 From: Alex Myers Date: Tue, 14 Feb 2023 18:32:55 -0600 Subject: [PATCH] gossipd: remember to squelch node announcements when shuffling Closing channels would previously require moving the node announcements in the gossip store on occasion. They incorrectly lost their spam flag during this process (would no longer be squelched.) Changelog-None --- gossipd/routing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gossipd/routing.c b/gossipd/routing.c index 8df6cf006..66b60172b 100644 --- a/gossipd/routing.c +++ b/gossipd/routing.c @@ -484,7 +484,7 @@ static void force_node_announce_rexmit(struct routing_state *rstate, node->rgraph.timestamp, is_local, false, - false, + true, NULL); } }