Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Apr 19, 2024
1 parent 0f301a4 commit c8b1f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/net/discv5/src/lib.rs
Expand Up @@ -803,7 +803,7 @@ mod tests {

#[test]
fn select_lookup_target() {
// bucket index ceiled to the next multiple of 4
// bucket index ceiled to the next multiple of 8
const fn expected_bucket_index(kbucket_index: usize) -> u64 {
let log2distance = kbucket_index + 1;
if log2distance % 8 == 0 {
Expand Down

0 comments on commit c8b1f38

Please sign in to comment.