#672 Reverted back "cryptonight-light" and exit if no valid algorithm specified.
This commit is contained in:
parent
1748a7bd57
commit
e320b2e928
5 changed files with 15 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue