From de56964a2e81f5995b9d1314dde5682955234adf Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Wed, 10 Jun 2015 10:58:53 +0200 Subject: [PATCH] Do create DAG if missing --- libethcore/Ethash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethcore/Ethash.cpp b/libethcore/Ethash.cpp index f4a8c25c4..4fa05f4cc 100644 --- a/libethcore/Ethash.cpp +++ b/libethcore/Ethash.cpp @@ -335,7 +335,7 @@ void Ethash::GPUMiner::workLoop() EthashAux::FullType dag; while (true) { - if ((dag = EthashAux::full(w.seedHash, false))) + if ((dag = EthashAux::full(w.seedHash, true))) break; if (shouldStop()) {