forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gossipd: load and store node_announcements correctly
Loading the gossip_store would not create a pending node announcement when the node already had a zombie channel. This would cause the node announcement to attempt to be loaded, but fail because it had no broadcastable channels. Accepting a pending node announcement as when normally loading from the channel corrects this. `node_has_public_channels` taking into account zombie channels enables this behavior. Separately, node_announcements were still being flagged as zombies in the gossip store despite that feature being removed. Changelog-None
- Loading branch information
1 parent
d5246e4
commit d1402e0
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters