#2800 Fixed donation with ghostrider algorithm for builds without KawPow algorithm.
This commit is contained in:
parent
dd782c7001
commit
c9b9ef51ee
2 changed files with 5 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue