1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 16:33:32 -05:00

#1202 Fixed algorithm verification in donate strategy.

This commit is contained in:
XMRig
2019-09-28 22:07:44 +07:00
parent e66eeefb14
commit 680081b93b
5 changed files with 41 additions and 34 deletions

View File

@@ -97,7 +97,7 @@ public:
bool isEnabled(const Algorithm &algorithm) const
{
for (IBackend *backend : backends) {
if (backend->isEnabled(algorithm)) {
if (backend->isEnabled() && backend->isEnabled(algorithm)) {
return true;
}
}