mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-02 02:03:03 -05:00
Add support for skip invalid pools.
This commit is contained in:
@@ -141,9 +141,13 @@ xmrig::Config *xmrig::Config::load(int argc, char **argv, IWatcherListener *list
|
||||
}
|
||||
|
||||
|
||||
bool xmrig::Config::adjust()
|
||||
bool xmrig::Config::finalize()
|
||||
{
|
||||
if (!CommonConfig::adjust()) {
|
||||
if (m_state != NoneState) {
|
||||
return CommonConfig::finalize();
|
||||
}
|
||||
|
||||
if (!CommonConfig::finalize()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user