|
@ -141,7 +141,7 @@ void EthashCUDAMiner::workLoop() |
|
|
// take local copy of work since it may end up being overwritten by kickOff/pause.
|
|
|
// take local copy of work since it may end up being overwritten by kickOff/pause.
|
|
|
try { |
|
|
try { |
|
|
WorkPackage w = work(); |
|
|
WorkPackage w = work(); |
|
|
cnote << "set work; seed: " << "#" + w.seedHash.hex().substr(0, 8) + ", target: " << "#" + w.boundary.hex().substr(0, 16); |
|
|
cnote << "set work; seed: " << "#" + w.seedHash.hex().substr(0, 8) + ", target: " << "#" + w.boundary.hex().substr(0, 12); |
|
|
if (!m_miner || m_minerSeed != w.seedHash) |
|
|
if (!m_miner || m_minerSeed != w.seedHash) |
|
|
{ |
|
|
{ |
|
|
unsigned device = s_devices[index()] > -1 ? s_devices[index()] : index(); |
|
|
unsigned device = s_devices[index()] > -1 ? s_devices[index()] : index(); |
|
|