#607 Fixed donation bug.
This commit is contained in:
parent
a1c5afa383
commit
c89889cc57
3 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue