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 306140d commit a1d3341Copy full SHA for a1d3341
lightning/src/routing/gossip_checking.rs
@@ -354,11 +354,6 @@ impl PendingChecks {
354
if latest_announce.is_none() ||
355
latest_announce.as_ref().unwrap().timestamp() < msg.timestamp
356
{
357
- // If the messages we got has a higher timestamp, just blindly
358
- // assume the signatures on the new message are correct and drop
359
- // the old message. This may cause us to end up dropping valid
360
- // `node_announcement`s if a peer is malicious, but we should get
361
- // the correct ones when the node updates them.
362
*latest_announce = Some(
363
if let Some(msg) = full_msg { NodeAnnouncement::Full(msg.clone()) }
364
else { NodeAnnouncement::Unsigned(msg.clone()) });
0 commit comments