diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index b11f5508c..b81ffc32f 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -41,7 +41,7 @@ void WaitForShutdown(boost::thread_group* threadGroup) // Tell the main threads to shutdown. while (!fShutdown) { - MilliSleep(16000); + MilliSleep(10000); komodo_passport_iteration(); fShutdown = ShutdownRequested(); } diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 1fa77c6cf..319ad3e7d 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -472,8 +472,11 @@ int32_t komodo_gateway_deposits(CMutableTransaction *txNew,char *base,int32_t to break; sleep(1); } - printf("%s not realtime ht.%d\n",ASSETCHAINS_SYMBOL,ht); - return(0); + if ( i == 10 ) + { + printf("%s not realtime ht.%d\n",ASSETCHAINS_SYMBOL,ht); + return(0); + } } else {