Skip to content

Commit a1d3341

Browse files
committed
f drop incorrect comment
1 parent 306140d commit a1d3341

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lightning/src/routing/gossip_checking.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,6 @@ impl PendingChecks {
354354
if latest_announce.is_none() ||
355355
latest_announce.as_ref().unwrap().timestamp() < msg.timestamp
356356
{
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.
362357
*latest_announce = Some(
363358
if let Some(msg) = full_msg { NodeAnnouncement::Full(msg.clone()) }
364359
else { NodeAnnouncement::Unsigned(msg.clone()) });

0 commit comments

Comments
 (0)