Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
route: Do not require both directions to be active
This likely lead to a number of false errors when attempting to route. We deemed a channel to be unusable as soon as either direction isn't usable. This is bad since it excludes not only zeroconf channels (which have different scids for the two directions), but it also excludes any channel that we haven't seen an update from yet. This was likely introduced when attemting to exclude nodes that haven't sent a disable, but their peer has, but this is not necessary as the unresponsive node would be marked as isolated by all its peers, so we don't need to artificially mark a channel direction as disabled when really we can't even enter the node to traverse the channel in that direction. Changelog-Fixed: routing: Fixed an issue where we would exclude the entire channel if either direction was disabled, or we hadn't seen an update yet.
- Loading branch information