Return current algorithm in API response.
This commit is contained in:
parent
378bc504fc
commit
a000544fdc
6 changed files with 8 additions and 4 deletions
|
@ -89,7 +89,7 @@ void xmrig::FailoverStrategy::add(const Pool &pool)
|
|||
|
||||
int64_t xmrig::FailoverStrategy::submit(const JobResult &result)
|
||||
{
|
||||
if (m_active == -1) {
|
||||
if (!isActive()) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue