mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-23 06:52:33 -05:00
Move selfTest to threads, remove legacy CryptoNight.cpp.
This commit is contained in:
@@ -101,11 +101,6 @@ int App::exec()
|
||||
|
||||
background();
|
||||
|
||||
if (!CryptoNight::init(m_controller->config()->algorithm(), m_controller->config()->algoVariant(), m_controller->config()->isDoubleHash())) {
|
||||
LOG_ERR("\"%s\" hash self-test failed.", m_controller->config()->algoName());
|
||||
return 1;
|
||||
}
|
||||
|
||||
Mem::allocate(m_controller->config()->algorithm(),
|
||||
m_controller->config()->threadsCount(),
|
||||
m_controller->config()->isDoubleHash(),
|
||||
|
||||
Reference in New Issue
Block a user