From 9bf2c7fb5e0777e0bd1a6ab3709ffcdaf52acda1 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Sat, 29 Dec 2018 02:00:44 +0000 Subject: [PATCH] Test cleanup --- core/src/pow.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/src/pow.rs b/core/src/pow.rs index 90f228ee..311ba23e 100644 --- a/core/src/pow.rs +++ b/core/src/pow.rs @@ -152,10 +152,6 @@ mod test { println!("nonce {}", b.header.pow.nonce); assert_ne!(b.header.pow.nonce, 310); assert!(b.header.pow.to_difficulty(0) >= Difficulty::min()); - let start = ::std::time::Instant::now(); - for n in 0..100000 { - assert!(verify_size(&b.header).is_ok()); - } - println!("==> {}", start.elapsed().as_secs()); + assert!(verify_size(&b.header).is_ok()); } }