From 6f3ae4563a3c193be7108b0324ae336ffbc3284f Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Fri, 26 Oct 2018 16:07:12 -0700 Subject: [PATCH] Small test fix --- core/tests/consensus.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/consensus.rs b/core/tests/consensus.rs index e81e12941..14ede57bb 100644 --- a/core/tests/consensus.rs +++ b/core/tests/consensus.rs @@ -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()::>), MIN_DIFFICULTY as u32 ); // just about the right ratio, also no longer playing with median