Allow null algorithm for pools.

This commit is contained in:
XMRig 2019-06-16 03:50:22 +07:00
parent b73c204e73
commit 6990324681
5 changed files with 56 additions and 32 deletions

View file

@ -139,7 +139,7 @@ void xmrig::Pools::print() const
i,
(pool.isEnabled() ? (pool.isTLS() ? 32 : 36) : 31),
pool.url().data(),
pool.algorithm().shortName()
pool.algorithm().isValid() ? pool.algorithm().shortName() : "auto"
);
i++;