From 10fa67233fe2d513354462d0ff9412eecd0dac40 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 29 Oct 2016 13:52:31 -0300 Subject: [PATCH] test --- src/bitcoind.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index f5601ab77..6d802b873 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -42,7 +42,8 @@ void WaitForShutdown(boost::thread_group* threadGroup) while (!fShutdown) { MilliSleep(2000); - komodo_gateway_iteration(ASSETCHAINS_SYMBOL); + if ( ASSETCHAINS_SYMBOL[0] != 0 ) + komodo_gateway_iteration(ASSETCHAINS_SYMBOL); fShutdown = ShutdownRequested(); } if (threadGroup)