From d2e391d29a0e9a42de2b85c25d51824b58554411 Mon Sep 17 00:00:00 2001 From: Michal Zurkowski Date: Wed, 10 Nov 2021 18:07:44 +0100 Subject: [PATCH] 1.2.4.1 Hotfix --- cpu-miner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-miner.c b/cpu-miner.c index 9a1c745..6b5b6e3 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -4431,7 +4431,7 @@ int main(int argc, char *argv[]) { applog(LOG_WARNING, "Changing to stratum+tcp to support TCP."); sprintf(tmp, "stratum+tcp://%s", strstr(rpc_url_backup, "://") + 3); } else { - sprintf(tmp, "%s", rpc_url); + sprintf(tmp, "%s", rpc_url_backup); } free(rpc_url_backup); rpc_url_backup = strdup(tmp);