diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index 00ca0c3a4..bb98da3d6 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -44,9 +44,9 @@ void WaitForShutdown(boost::thread_group* threadGroup) //fprintf(stderr,"call passport iteration\n"); if ( ASSETCHAINS_SYMBOL[0] == 0 ) { - MilliSleep(10000); komodo_passport_iteration(); - } + MilliSleep(10000); + } else MilliSleep(1000); fShutdown = ShutdownRequested(); } if (threadGroup) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 81eaa2338..dd74edf2c 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -653,17 +653,20 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above memset(kmdheights,0,sizeof(kmdheights)); memset(otherheights,0,sizeof(otherheights)); txn_count = block.vtx.size(); - for (i=0; i=0; baseid--)