Skip to content

Commit

Permalink
Post merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Nov 29, 2021
1 parent 7f801d0 commit 0e5b54b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ int xmrig::App::exec()
}

# 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->config()->benchmark().set_controller(m_controller);

Expand Down

0 comments on commit 0e5b54b

Please sign in to comment.