-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
channeldb: fix assumption that both channel edges will always be adve…
…rtised This commit fixes a prior bug in the graph database due to an invalid assumption that both channel edges would _always_ be advertised. This assumption is invalid, as it’s up to a node’s policy if the advertise their direction of the channel. The fix for this assumption is straight forward: ErrEdgeNotFound is no longer a critical error, instead a nil pointer will now be passed into the passed callback function.
- Loading branch information
Showing
1 changed file
with
26 additions
and
9 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