Skip to content

Commit c4a2d19

Browse files
committed
clean comment
1 parent addd32a commit c4a2d19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/network/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ impl AddressBook {
515515
}
516516

517517
pub(crate) fn select(&self) -> Option<Record> {
518-
// ensures we try all variants
518+
// ensures we use known peers if there are no new peers
519519
if rand::random() {
520520
self.tried.select().or_else(|| self.new.select())
521521
} else {

0 commit comments

Comments
 (0)