Use direct access to hashrate in API.

This commit is contained in:
XMRig 2018-04-17 10:29:37 +07:00
parent b32ec5342e
commit c221bf09f6
8 changed files with 26 additions and 61 deletions

View file

@ -243,10 +243,6 @@ void Workers::onTick(uv_timer_t *handle)
if ((m_ticks++ & 0xF) == 0) {
m_hashrate->updateHighest();
}
# ifndef XMRIG_NO_API
Api::tick(m_hashrate);
# endif
}