Browse Source

Merge pull request #2140 from LefterisJP/gpu_do_create_dag

Do create/get DAG if missing while GPU mining
cl-refactor
Gav Wood 10 years ago
parent
commit
ff428a2a17
  1. 2
      libethcore/Ethash.cpp

2
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())
{

Loading…
Cancel
Save