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