KOMODO_EARLYTXID_HEIGHT 200

This commit is contained in:
jl777
2019-07-09 05:02:44 -11:00
parent faac6630e4
commit 3a3bb52b7f
2 changed files with 2 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ void WaitForShutdown(boost::thread_group* threadGroup)
{
int32_t i,height; bool fShutdown = ShutdownRequested(); const uint256 zeroid;
// Tell the main threads to shutdown.
if (komodo_currentheight()>100 && KOMODO_EARLYTXID!=zeroid && ((height=tx_height(KOMODO_EARLYTXID))==0 || height>100))
if (komodo_currentheight()>KOMODO_EARLYTXID_HEIGHT && KOMODO_EARLYTXID!=zeroid && ((height=tx_height(KOMODO_EARLYTXID))==0 || height>KOMODO_EARLYTXID_HEIGHT))
{
fprintf(stderr,"error: earlytx must be before block height 100 or tx does not exist\n");
StartShutdown();