Skip to content

Commit

Permalink
sha3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Aug 9, 2023
1 parent baeb7fb commit b595f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base_layer/core/src/proof_of_work/sha3x_pow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ pub mod test {
#[test]
fn validate_max_target() {
let mut header = get_header();
header.nonce = 6;
header.nonce = 154;
println!("{:?}", header);
assert_eq!(sha3x_difficulty(&header).unwrap(), Difficulty::from_u64(899).unwrap());
assert_eq!(sha3x_difficulty(&header).unwrap(), Difficulty::from_u64(6564).unwrap());
}
}

0 comments on commit b595f61

Please sign in to comment.