From 446e1abd664354f3494c795b660476674048f01a Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Wed, 6 Apr 2016 18:12:27 +0200 Subject: [PATCH] decred: keep first protocol without the vote arg argh... suprnova again... --- ccminer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccminer.cpp b/ccminer.cpp index 391105f..187bb44 100644 --- a/ccminer.cpp +++ b/ccminer.cpp @@ -859,7 +859,7 @@ static bool submit_upstream_work(CURL *curl, struct work *work) applog(LOG_DEBUG, "share diff: %.5f (x %.1f)", stratum.sharediff, work->shareratio); - if (nvote) { // ALGO_HEAVY ALGO_DECRED + if (opt_vote) { // ALGO_HEAVY ALGO_DECRED nvotestr = bin2hex((const uchar*)(&nvote), 2); sprintf(s, "{\"method\": \"mining.submit\", \"params\": [" "\"%s\", \"%s\", \"%s\", \"%s\", \"%s\", \"%s\"], \"id\":4}",