#607 Fixed donation bug.

This commit is contained in:
XMRig 2018-05-07 02:09:25 +07:00
parent a1c5afa383
commit c89889cc57
3 changed files with 7 additions and 3 deletions

View file

@ -91,6 +91,10 @@ Pool::Pool(const char *host, uint16_t port, const char *user, const char *passwo
bool Pool::isCompatible(const xmrig::Algorithm &algorithm) const
{
if (m_algorithms.empty()) {
return true;
}
for (const auto &a : m_algorithms) {
if (algorithm == a) {
return true;