We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63c4649 commit 0880b4dCopy full SHA for 0880b4d
lightning/src/routing/gossip.rs
@@ -1688,7 +1688,7 @@ impl<L: Deref> NetworkGraph<L> where L::Target: Logger {
1688
if info.two_to_one.is_some() && info.two_to_one.as_ref().unwrap().last_update < min_time_unix {
1689
info.two_to_one = None;
1690
}
1691
- if info.one_to_two.is_none() && info.two_to_one.is_none() {
+ if info.one_to_two.is_none() || info.two_to_one.is_none() {
1692
// We check the announcement_received_time here to ensure we don't drop
1693
// announcements that we just received and are just waiting for our peer to send a
1694
// channel_update for.
0 commit comments