1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

#672 Reverted back "cryptonight-light" and exit if no valid algorithm specified.

This commit is contained in:
XMRig
2018-06-04 02:09:29 +07:00
parent 1748a7bd57
commit e320b2e928
5 changed files with 15 additions and 5 deletions

View File

@@ -38,6 +38,7 @@
xmrig::CommonConfig::CommonConfig() :
m_algorithm(CRYPTONIGHT, VARIANT_AUTO),
m_adjusted(false),
m_apiIPv6(false),
m_apiRestricted(true),
@@ -117,7 +118,7 @@ bool xmrig::CommonConfig::finalize()
}
if (!m_algorithm.isValid()) {
m_algorithm.setAlgo(CRYPTONIGHT);
return false;
}
for (Pool &pool : m_pools) {