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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user