From 2f1230c0ddc642404f54803ba75befbf056ea427 Mon Sep 17 00:00:00 2001 From: Ralph Date: Mon, 27 Jan 2020 18:13:43 -0500 Subject: [PATCH] Correct Segwit check --- stratum/coind_template.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stratum/coind_template.cpp b/stratum/coind_template.cpp index 33ecc62..7109038 100644 --- a/stratum/coind_template.cpp +++ b/stratum/coind_template.cpp @@ -234,8 +234,7 @@ YAAMP_JOB_TEMPLATE *coind_create_template(YAAMP_COIND *coind) return coind_create_template_memorypool(coind); char params[512] = "[{}]"; - if(!strcmp(coind->symbol, "PPC")) strcpy(params, "[]"); - else if(g_stratum_segwit) strcpy(params, "[{\"rules\":[\"segwit\"]}]"); + if(g_stratum_segwit) strcpy(params, "[{\"rules\":[\"segwit\"]}]"); json_value *json = rpc_call(&coind->rpc, "getblocktemplate", params); if(!json || json_is_null(json))