diff --git a/libethash-cl/ethash_cl_miner.cpp b/libethash-cl/ethash_cl_miner.cpp index fbb74f5b2..fb5f201b6 100644 --- a/libethash-cl/ethash_cl_miner.cpp +++ b/libethash-cl/ethash_cl_miner.cpp @@ -467,7 +467,7 @@ void ethash_cl_miner::search(uint8_t const* header, uint64_t target, search_hook unsigned ms = t.elapsed() * 1000; if (ms > _msPerBatch * 1.1) m_batchSize = max(128, m_batchSize * 9 / 10); - else if (ms > _msPerBatch * 0.9) + else if (ms < _msPerBatch * 0.9) m_batchSize = m_batchSize * 10 / 9; pending.push({ start_nonce, buf });