#1202 Fixed algorithm verification in donate strategy.
This commit is contained in:
parent
e66eeefb14
commit
680081b93b
5 changed files with 41 additions and 34 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue