#2800 Fixed donation with ghostrider algorithm for builds without KawPow algorithm.

This commit is contained in:
XMRig 2024-02-29 09:38:47 +07:00
parent dd782c7001
commit c9b9ef51ee
No known key found for this signature in database
GPG key ID: 446A53638BE94409
2 changed files with 5 additions and 10 deletions

View file

@ -63,7 +63,7 @@ xmrig::DonateStrategy::DonateStrategy(Controller *controller, IStrategyListener
keccak(reinterpret_cast<const uint8_t *>(user.data()), user.size(), hash);
Cvt::toHex(m_userId, sizeof(m_userId), hash, 32);
# ifdef XMRIG_ALGO_KAWPOW
# if defined XMRIG_ALGO_KAWPOW || defined XMRIG_ALGO_GHOSTRIDER
constexpr Pool::Mode mode = Pool::MODE_AUTO_ETH;
# else
constexpr Pool::Mode mode = Pool::MODE_POOL;