From 10ccae0d160724623bb3482e8619aec6eb4235b7 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 28 Oct 2019 08:14:19 -0400 Subject: [PATCH] We do not use earlytxid so no reason to run this code --- src/bitcoind.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index 6bcd3a70b..f8dac619b 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -72,12 +72,14 @@ void WaitForShutdown(boost::thread_group* threadGroup) { int32_t i,height; CBlockIndex *pindex; bool fShutdown = ShutdownRequested(); const uint256 zeroid; // Tell the main threads to shutdown. + /* if (komodo_currentheight()>KOMODO_EARLYTXID_HEIGHT && KOMODO_EARLYTXID!=zeroid && ((height=tx_height(KOMODO_EARLYTXID))==0 || height>KOMODO_EARLYTXID_HEIGHT)) { fprintf(stderr,"%s: error: earlytx must be before block height %d or tx does not exist\n",__FUNCTION__, KOMODO_EARLYTXID_HEIGHT); fprintf(stderr,"%s: earlytxid=%s, tx_height=%d, komodo_currentheight=%d\n", __FUNCTION__, KOMODO_EARLYTXID.GetHex().c_str(), tx_height(KOMODO_EARLYTXID), komodo_currentheight() ); StartShutdown(); } + */ /*if ( ASSETCHAINS_STAKED == 0 && ASSETCHAINS_ADAPTIVEPOW == 0 && (pindex= komodo_chainactive(1)) != 0 ) { if ( pindex->nTime > ADAPTIVEPOW_CHANGETO_DEFAULTON )