From 2261415c275edcf851fcdbeb14158113a738f515 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Thu, 20 Jul 2017 15:03:47 +0000 Subject: [PATCH] Oops. Fix blake2 dependency issues. --- core/src/pow/mod.rs | 1 + grin/tests/framework.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;