Skip to content

Commit

Permalink
Merge pull request #138 from Spudz76/pr-mo-fix-MODE_AUTO_ETH
Browse files Browse the repository at this point in the history
Pool.h: missing ifdef like everywhere else MODE_AUTO_ETH is used
  • Loading branch information
MoneroOcean authored May 30, 2024
2 parents 0ba8b72 + be21500 commit 20184c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/net/stratum/Pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Pool
MODE_POOL,
MODE_DAEMON,
MODE_SELF_SELECT,
# ifdef XMRIG_ALGO_KAWPOW
# if defined XMRIG_ALGO_KAWPOW || defined XMRIG_ALGO_GHOSTRIDER
MODE_AUTO_ETH,
# endif
# ifdef XMRIG_FEATURE_BENCHMARK
Expand Down Expand Up @@ -155,7 +155,7 @@ class Pool
bool m_submitToOrigin = false;
Coin m_coin;
int m_keepAlive = 0;
# ifdef XMRIG_ALGO_KAWPOW
# if defined XMRIG_ALGO_KAWPOW || defined XMRIG_ALGO_GHOSTRIDER
Mode m_mode = MODE_AUTO_ETH;
# else
Mode m_mode = MODE_POOL;
Expand Down

0 comments on commit 20184c6

Please sign in to comment.