mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Small test fix
This commit is contained in:
parent
1121a38bd5
commit
6f3ae4563a
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ fn secondary_pow_scale() {
|
|||
let mut low_hi = HeaderInfo::from_diff_scaling(Difficulty::from_num(10), MIN_DIFFICULTY as u32);
|
||||
low_hi.is_secondary = true;
|
||||
assert_eq!(
|
||||
secondary_pow_scaling(890_000, &(0..window).map(|_| low_hi.clone()).collect()),
|
||||
secondary_pow_scaling(890_000, &(0..window).map(|_| low_hi.clone()).collect()::<Vec<_>>),
|
||||
MIN_DIFFICULTY as u32
|
||||
);
|
||||
// just about the right ratio, also no longer playing with median
|
||||
|
|
Loading…
Reference in a new issue