Skip to content

Commit

Permalink
Fixed regression, default value for algo option was not applied.
Browse files Browse the repository at this point in the history
  • Loading branch information
xmrig committed Apr 18, 2019
1 parent 234b96b commit 02efd26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# v2.15.3-beta
- [#1014](https://github.com/xmrig/xmrig/issues/1014) Fixed regression, default value for `algo` option was not applied.

# v2.15.2-beta
- [#1010](https://github.com/xmrig/xmrig/pull/1010#issuecomment-482632107) Added daemon support (solo mining).
- Config subsystem was rewritten, internally JSON is primary format now.
Expand Down
2 changes: 1 addition & 1 deletion src/base/kernel/config/BaseConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ bool xmrig::BaseConfig::read(const IJsonReader &reader, const char *fileName)
m_http.load(chain.getObject("http"));
# endif

m_algorithm.parseAlgorithm(reader.getString("algo"));
m_algorithm.parseAlgorithm(reader.getString("algo", "cn"));

m_pools.load(reader.getArray("pools"));
m_pools.setDonateLevel(reader.getInt("donate-level", kDefaultDonateLevel));
Expand Down
4 changes: 2 additions & 2 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
#define APP_ID "xmrig-proxy"
#define APP_NAME "xmrig-proxy"
#define APP_DESC "XMRig Stratum proxy"
#define APP_VERSION "2.15.2-beta"
#define APP_VERSION "2.15.3-beta"
#define APP_DOMAIN "xmrig.com"
#define APP_SITE "www.xmrig.com"
#define APP_COPYRIGHT "Copyright (C) 2016-2019 xmrig.com"
#define APP_KIND "proxy"

#define APP_VER_MAJOR 2
#define APP_VER_MINOR 15
#define APP_VER_PATCH 2
#define APP_VER_PATCH 3

#ifdef _MSC_VER
# if (_MSC_VER >= 1910)
Expand Down

0 comments on commit 02efd26

Please sign in to comment.