From 4f0c9cecb6f0739e90dc02ec5340e00ecd8381ae Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 29 Oct 2016 15:14:42 -0300 Subject: [PATCH] test --- src/komodo_utils.h | 2 +- src/miner.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 0adbb62e3..7a7b5c99b 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1338,7 +1338,7 @@ void komodo_args() extern int COINBASE_MATURITY; komodo_configfile(ASSETCHAINS_SYMBOL,ASSETCHAINS_PORT + 1); if ( komodo_baseid(ASSETCHAINS_SYMBOL) >= 0 ) - COINBASE_MATURITY = 0; + COINBASE_MATURITY = 1; } } else diff --git a/src/miner.cpp b/src/miner.cpp index 49cfadfda..8637d719e 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -504,7 +504,7 @@ void static BitcoinMiner(CWallet *pwallet) try { while (true) { - if (chainparams.MiningRequiresPeers()) + if (0&&chainparams.MiningRequiresPeers()) { // Busy-wait for the network to come online so we don't waste time mining // on an obsolete chain. In regtest mode we expect to fly solo.