Move pricesinit
This commit is contained in:
@@ -70,6 +70,8 @@ void WaitForShutdown(boost::thread_group* threadGroup)
|
|||||||
{
|
{
|
||||||
int32_t i; bool fShutdown = ShutdownRequested();
|
int32_t i; bool fShutdown = ShutdownRequested();
|
||||||
// Tell the main threads to shutdown.
|
// Tell the main threads to shutdown.
|
||||||
|
if ( ASSETCHAINS_CBOPRET != 0 )
|
||||||
|
komodo_pricesinit();
|
||||||
while (!fShutdown)
|
while (!fShutdown)
|
||||||
{
|
{
|
||||||
//fprintf(stderr,"call passport iteration\n");
|
//fprintf(stderr,"call passport iteration\n");
|
||||||
|
|||||||
@@ -2082,7 +2082,6 @@ void komodo_args(char *argv0)
|
|||||||
extralen += symbol.size();
|
extralen += symbol.size();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
komodo_pricesinit();
|
|
||||||
komodo_cbopretupdate(1); // will set Mineropret
|
komodo_cbopretupdate(1); // will set Mineropret
|
||||||
fprintf(stderr,"This blockchain uses data produced from CoinDesk Bitcoin Price Index\n");
|
fprintf(stderr,"This blockchain uses data produced from CoinDesk Bitcoin Price Index\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user