Browse Source

Merge commit 'cb6d62d' into cg_merges_20130818a

Conflicts:
	miner.c
Luke Dashjr 12 years ago
parent
commit
dd0cd7fe8c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.c

+ 2 - 0
miner.c

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