Skip to content

Commit a7bd20d

Browse files
committed
f better wording
1 parent 14cc445 commit a7bd20d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/routing/gossip_checking.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,9 @@ impl PendingChecks {
502502

503503
const MAX_PENDING_LOOKUPS: usize = 32;
504504

505-
/// Signls if there are a large number of async checks pending and future channel_announcement
506-
/// messages should be delayed. Note that this is only a hint and messages already in-flight
507-
/// may still have to be handled for various reasons.
505+
/// Returns true if there are a large number of async checks pending and future
506+
/// `channel_announcement` messages should be delayed. Note that this is only a hint and
507+
/// messages already in-flight may still have to be handled for various reasons.
508508
pub(super) fn too_many_checks_pending(&self) -> bool {
509509
let mut pending_checks = self.internal.lock().unwrap();
510510
if pending_checks.channels.len() > Self::MAX_PENDING_LOOKUPS {

0 commit comments

Comments
 (0)