Skip to content

Commit

Permalink
fix:somt tiny point make pois challenge fail (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
democ98 authored Sep 18, 2024
1 parent f47b951 commit 1481e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ces-pois/src/pois/challenge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub fn new_challenge_handle(
let v = expanders::bytes_to_node_value(&hash, max) as i64;
let mut l = (start + count * group_size + v) * file_num + 1;
let r = ((l - 1) / file_num + 1) * file_num + 1;
if l < front {
if l <= front {
l = front + 1;
}
count += 1;
Expand Down

0 comments on commit 1481e40

Please sign in to comment.