diff options
-rw-r--r-- | executor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/executor.cpp b/executor.cpp index edfa39c..af10811 100644 --- a/executor.cpp +++ b/executor.cpp @@ -232,7 +232,7 @@ void executor::on_pool_have_job(size_t pool_id, pool_job& oPoolJob) minethd::miner_work oWork(oPoolJob.sJobID, oPoolJob.bWorkBlob, oPoolJob.iWorkLen, oPoolJob.iResumeCnt, oPoolJob.iTarget, - (pool_id != dev_pool_id) ? jconf::inst()->NiceHashMode() : false, + pool_id != dev_pool_id && jconf::inst()->NiceHashMode(), pool_id); minethd::switch_work(oWork); @@ -380,7 +380,7 @@ void executor::ex_main() //This will connect us to the pool for the first time push_event(ex_event(EV_RECONNECT, usr_pool_id)); - // Place the default success result at postion 0, it needs to + // Place the default success result at position 0, it needs to // be here even if our first result is a failure vMineResults.emplace_back(); |