Browse Source

Merge branch 'bugfix_stratum_failover' into bfgminer

Luke Dashjr 13 years ago
parent
commit
6b8e7f511d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      miner.c

+ 3 - 0
miner.c

@@ -2953,6 +2953,9 @@ static bool get_upstream_work(struct work *work, CURL *curl)
 
 	char *rpc_req;
 
+	if (pool->proto == PLP_NONE)
+		pool->proto = PLP_GETBLOCKTEMPLATE;
+
 tryagain:
 	rpc_req = prepare_rpc_req(work, pool->proto, NULL);
 	work->pool = pool;