mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
If no stratum url is set by the end of the detect stratum routine, copy the sockaddr url.
This commit is contained in:
parent
78aafcec5c
commit
210bc9be3e
@ -571,6 +571,8 @@ bool detect_stratum(struct pool *pool, char *url)
|
||||
|
||||
if (!strncasecmp(url, "stratum+tcp://", 14) || stratum) {
|
||||
pool->has_stratum = true;
|
||||
if (!pool->stratum_url)
|
||||
pool->stratum_url = pool->sockaddr_url;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user