Error message only when cheatstaker parameter is invalid, not missing

This commit is contained in:
miketout
2018-10-11 14:52:05 -07:00
parent 3ce8aba005
commit ae773246f8

View File

@@ -1887,7 +1887,8 @@ void static BitcoinMiner()
}
else
{
fprintf(stderr, "-cheatcatcher parameter is invalid Sapling payment address");
if (VERUS_CHEATCATCHER.size() > 0)
fprintf(stderr, "-cheatcatcher parameter is invalid Sapling payment address\n");
}
static boost::thread_group* minerThreads = NULL;