This commit is contained in:
jl777
2017-03-19 18:19:12 +02:00
parent 4b6b337e4e
commit 1e1893d8f1
2 changed files with 7 additions and 4 deletions

View File

@@ -42,8 +42,11 @@ void WaitForShutdown(boost::thread_group* threadGroup)
while (!fShutdown)
{
//fprintf(stderr,"call passport iteration\n");
MilliSleep(10000);
komodo_passport_iteration();
if ( ASSETCHAINS_SYMBOL[0] == 0 )
{
MilliSleep(10000);
komodo_passport_iteration();
}
fShutdown = ShutdownRequested();
}
if (threadGroup)

View File

@@ -727,8 +727,8 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
}
while ( KOMODO_PASSPORT_INITDONE == 0 )
{
fprintf(stderr,".");
sleep(3);
komodo_passport_iteration();
//sleep(3);
}
if ( KOMODO_PASSPORT_INITDONE == 0 ) // komodo_isrealtime(&ht) == 0 || init time already in DB
return(0);