From f9260ac43ff2e788d2359052f70e5ae30547e2e8 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Mon, 17 Dec 2018 00:57:23 +0800 Subject: [PATCH] fix --- src/komodo_utils.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 309dae3b4..335d9a8cf 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1676,11 +1676,11 @@ void komodo_args(char *argv0) for (i=0; i<64; i++) if ( strcmp(NOTARY_PUBKEY.c_str(),Notaries_elected1[i][1]) == 0 ) { - IS_KOMODO_NOTARY = 1; - KOMODO_MININGTHREADS = 1; - mapArgs ["-genproclimit"] = itostr(KOMODO_MININGTHREADS); - fprintf(stderr,"running as notary.%d %s\n",i,Notaries_elected1[i][0]); - break; + IS_KOMODO_NOTARY = 1; + KOMODO_MININGTHREADS = 1; + mapArgs ["-genproclimit"] = itostr(KOMODO_MININGTHREADS); + fprintf(stderr,"running as notary.%d %s\n",i,Notaries_elected1[i][0]); + break; } } //KOMODO_PAX = 1; @@ -1781,11 +1781,9 @@ void komodo_args(char *argv0) // for now, we only support 50% PoS due to other parts of the algorithm needing adjustment for // other values if ( (ASSETCHAINS_LWMAPOS = GetArg("-ac_veruspos",0)) != 0 ) - { + { ASSETCHAINS_LWMAPOS = 50; - if ( GetBoolArg("-gen", false) != 0 ) - VERUS_MINTBLOCKS = true; - } + } ASSETCHAINS_SAPLING = GetArg("-ac_sapling", -1); if (ASSETCHAINS_SAPLING == -1) {