Browse Source

Move pricesinit

z_createrawtransaction
jl777 5 years ago
parent
commit
027662268d
  1. 2
      src/bitcoind.cpp
  2. 1
      src/komodo_utils.h

2
src/bitcoind.cpp

@ -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");

1
src/komodo_utils.h

@ -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");
}

Loading…
Cancel
Save