mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-05 11:34:16 +00:00
Allow stratum to work with scrypt.
This commit is contained in:
parent
34b15a6d46
commit
14457a0b9b
@ -557,9 +557,6 @@ bool detect_stratum(struct pool *pool, char *url)
|
|||||||
if (!extract_sockaddr(pool, url))
|
if (!extract_sockaddr(pool, url))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (opt_scrypt)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (!strncasecmp(url, "stratum+tcp://", 14)) {
|
if (!strncasecmp(url, "stratum+tcp://", 14)) {
|
||||||
pool->rpc_url = strdup(url);
|
pool->rpc_url = strdup(url);
|
||||||
pool->has_stratum = true;
|
pool->has_stratum = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user