From fe9dc3b890ff744d426c3e62fbe08d9c655450d7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 25 Feb 2017 18:30:26 +0200 Subject: [PATCH] Test --- src/bitcoind.cpp | 2 +- src/komodo_gateway.h | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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 {