summaryrefslogtreecommitdiffstats
path: root/executor.cpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-03-23 14:28:01 +0000
committerGitHub <noreply@github.com>2017-03-23 14:28:01 +0000
commit00568d05e383ad14fee881539f171e00b10adf46 (patch)
tree440a4bfb9ffcbd856264410ebaf6e77168c53c97 /executor.cpp
parent178465013eeaca3fecf8ecdbbb4d16a21fce9a0c (diff)
parent215480b006cfa598349f9c80d32833a2e7fb97e3 (diff)
downloadxmr-stak-00568d05e383ad14fee881539f171e00b10adf46.zip
xmr-stak-00568d05e383ad14fee881539f171e00b10adf46.tar.gz
Merge pull request #55 from esfomeado/master
Simplified expression
Diffstat (limited to 'executor.cpp')
-rw-r--r--executor.cpp4
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();
OpenPOWER on IntegriCloud