mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Added CMake option WITH_BENCHMARK.
This commit is contained in:
@@ -74,10 +74,7 @@ xmrig::Network::Network(Controller *controller) :
|
||||
m_strategy = pools.createStrategy(m_state);
|
||||
|
||||
if (pools.donateLevel() > 0) {
|
||||
const bool bench = (pools.data().size() == 1) && (pools.data().front().mode() == xmrig::Pool::MODE_BENCHMARK);
|
||||
if (!bench) {
|
||||
m_donate = new DonateStrategy(controller, this);
|
||||
}
|
||||
m_donate = new DonateStrategy(controller, this);
|
||||
}
|
||||
|
||||
m_timer = new Timer(this, kTickInterval, kTickInterval);
|
||||
|
||||
Reference in New Issue
Block a user