Move pricesinit

This commit is contained in:
jl777
2019-04-10 21:11:27 -11:00
parent 169bffa3e4
commit 027662268d
2 changed files with 2 additions and 1 deletions

View File

@@ -70,6 +70,8 @@ void WaitForShutdown(boost::thread_group* threadGroup)
{
int32_t i; bool fShutdown = ShutdownRequested();
// Tell the main threads to shutdown.
if ( ASSETCHAINS_CBOPRET != 0 )
komodo_pricesinit();
while (!fShutdown)
{
//fprintf(stderr,"call passport iteration\n");

View File

@@ -2082,7 +2082,6 @@ void komodo_args(char *argv0)
extralen += symbol.size();
}
}
komodo_pricesinit();
komodo_cbopretupdate(1); // will set Mineropret
fprintf(stderr,"This blockchain uses data produced from CoinDesk Bitcoin Price Index\n");
}