diff --git a/core/src/pow/mod.rs b/core/src/pow/mod.rs index 375ee0eee..0eb637a45 100644 --- a/core/src/pow/mod.rs +++ b/core/src/pow/mod.rs @@ -104,6 +104,7 @@ mod test { use super::*; use core::target::Difficulty; use genesis; + use consensus::MINIMUM_DIFFICULTY; #[test] fn genesis_pow() { diff --git a/grin/tests/framework.rs b/grin/tests/framework.rs index e2e77935b..236b9df33 100644 --- a/grin/tests/framework.rs +++ b/grin/tests/framework.rs @@ -20,7 +20,7 @@ extern crate grin_api as api; extern crate grin_wallet as wallet; extern crate secp256k1zkp as secp; -extern crate blake2; +extern crate blake2_rfc as blake2;; extern crate env_logger; extern crate futures; extern crate tokio_core;