Skip to content

Commit fe48371

Browse files
committed
f drop incorrect comment
1 parent 0ecd101 commit fe48371

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
@@ -346,11 +346,6 @@ impl PendingChecks {
346346
if latest_announce.is_none() ||
347347
latest_announce.as_ref().unwrap().timestamp() < msg.timestamp
348348
{
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.
354349
*latest_announce = Some(
355350
if let Some(msg) = full_msg { NodeAnnouncement::Full(msg.clone()) }
356351
else { NodeAnnouncement::Unsigned(msg.clone()) });

0 commit comments

Comments
 (0)