|
|
@@ -2634,7 +2634,6 @@ static bool submit_upstream_work(struct work *work, CURL *curl, bool resubmit)
|
|
|
json_decref(req);
|
|
|
sd = bin2hex(data, 80);
|
|
|
} else {
|
|
|
- sd = s;
|
|
|
|
|
|
/* build hex string */
|
|
|
hexstr = bin2hex(work->data, sizeof(work->data));
|
|
|
@@ -2644,6 +2643,8 @@ static bool submit_upstream_work(struct work *work, CURL *curl, bool resubmit)
|
|
|
s = realloc_strcat(s, hexstr);
|
|
|
s = realloc_strcat(s, "\" ], \"id\":1}");
|
|
|
|
|
|
+ sd = s;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
applog(LOG_DEBUG, "DBG: sending %s submit RPC call: %s", pool->rpc_url, sd);
|