Skip to content

Commit

Permalink
detect_change_in_consensus_encoding update
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Aug 9, 2022
1 parent dad9ddd commit 59a8528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base_layer/tari_mining_helper_ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ mod tests {

#[test]
fn detect_change_in_consensus_encoding() {
const NONCE: u64 = 17665701695086488202;
const DIFFICULTY: Difficulty = Difficulty::from_u64(1411);
const NONCE: u64 = 10055016657576172099;
const DIFFICULTY: Difficulty = Difficulty::from_u64(2198);
// Use this to generate new NONCE and DIFFICULTY
// Use ONLY if you know encoding has changed
// let (difficulty, nonce) = generate_nonce_with_min_difficulty(MIN_DIFFICULTY).unwrap();
Expand Down

0 comments on commit 59a8528

Please sign in to comment.