From 215480b006cfa598349f9c80d32833a2e7fb97e3 Mon Sep 17 00:00:00 2001 From: Esfomeado Date: Wed, 22 Mar 2017 17:04:26 +0000 Subject: Simplified expression --- executor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'executor.cpp') 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(); -- cgit v1.1