Rename Results => NetworkState.
This commit is contained in:
parent
9e9cddedc5
commit
8e08df2fd2
9 changed files with 34 additions and 33 deletions
|
@ -81,13 +81,13 @@ void Api::tick(const Hashrate *hashrate)
|
|||
}
|
||||
|
||||
|
||||
void Api::tick(const Results &results)
|
||||
void Api::tick(const NetworkState &network)
|
||||
{
|
||||
if (!m_state) {
|
||||
return;
|
||||
}
|
||||
|
||||
uv_mutex_lock(&m_mutex);
|
||||
m_state->tick(results);
|
||||
m_state->tick(network);
|
||||
uv_mutex_unlock(&m_mutex);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue