From c077a523dbadd3e4e3c9029ed6a9a38dc4fdb3c3 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 5 Apr 2015 14:47:39 +0200 Subject: [PATCH] New DAG file scheme. --- dagger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagger.cpp b/dagger.cpp index 4dda9c4fc..4abba5090 100644 --- a/dagger.cpp +++ b/dagger.cpp @@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE(basic_test) unsigned cacheSize(o["cache_size"].get_int()); h256 cacheHash(o["cache_hash"].get_str()); BOOST_REQUIRE_EQUAL(Ethasher::get()->params(header).cache_size, cacheSize); - BOOST_REQUIRE_EQUAL(sha3(bytesConstRef((byte const*)Ethasher::get()->cache(header), cacheSize)), cacheHash); + BOOST_REQUIRE_EQUAL(sha3(bytesConstRef((byte const*)Ethasher::get()->light(header), cacheSize)), cacheHash); #if TEST_FULL unsigned fullSize(o["full_size"].get_int());