From e1e65cef3a7f0f61d3b4cd284e838c9df9e8ed32 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 30 Jan 2017 08:21:38 +0200 Subject: [PATCH] test --- src/miner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 0fb829383..5abaae651 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -544,9 +544,9 @@ void static BitcoinMiner(CWallet *pwallet) komodo_chosennotary(¬aryid,chainActive.Tip()->nHeight,NOTARY_PUBKEY33); std::string solver; - if ( notaryid >= 0 || ASSETCHAINS_SYMBOL[0] != 0 ) + //if ( notaryid >= 0 || ASSETCHAINS_SYMBOL[0] != 0 ) solver = "tromp"; - else solver = "default"; + //else solver = "default"; assert(solver == "tromp" || solver == "default"); LogPrint("pow", "Using Equihash solver \"%s\" with n = %u, k = %u\n", solver, n, k); //fprintf(stderr,"Mining with %s\n",solver.c_str()); @@ -697,7 +697,7 @@ void static BitcoinMiner(CWallet *pwallet) }; // TODO: factor this out into a function with the same API for each solver. - if (solver == "tromp" && notaryid >= 0 ) { + if (solver == "tromp" ) { //&& notaryid >= 0 ) { // Create solver and initialize it. equi eq(1); eq.setstate(&curr_state);