1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 23:14:21 +00:00

Do not allow benchmark mode to be used with scrypt.

This commit is contained in:
Con Kolivas 2013-08-09 06:48:59 +10:00
parent d71e9f91f4
commit cb6d62de08

View File

@ -7477,6 +7477,8 @@ int main(int argc, char *argv[])
if (opt_benchmark) {
struct pool *pool;
if (opt_scrypt)
quit(1, "Cannot use benchmark mode with scrypt");
pool = add_pool();
pool->rpc_url = malloc(255);
strcpy(pool->rpc_url, "Benchmark");