mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-11 17:32:47 -05:00
Post merge fix
This commit is contained in:
@@ -86,7 +86,8 @@ int xmrig::App::exec()
|
|||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_FEATURE_MO_BENCHMARK
|
# ifdef XMRIG_FEATURE_MO_BENCHMARK
|
||||||
if (pool.mode() != Pool::MODE_BENCHMARK) {
|
const std::vector<Pool>& pools = m_controller->config()->pools().data();
|
||||||
|
if (pools.size() != 1 || pools[0].mode() != Pool::MODE_BENCHMARK) {
|
||||||
m_controller->pre_start();
|
m_controller->pre_start();
|
||||||
m_controller->config()->benchmark().set_controller(m_controller);
|
m_controller->config()->benchmark().set_controller(m_controller);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user