test
This commit is contained in:
@@ -101,6 +101,8 @@ bool AppInit(int argc, char* argv[])
|
||||
fprintf(stderr,"call komodo_args NOTARY_PUBKEY.(%s)\n",NOTARY_PUBKEY.c_str());
|
||||
while ( ASSETCHAIN_INIT == 0 )
|
||||
{
|
||||
if ( ASSETCHAINS_SYMBOL[0] != 0 )
|
||||
komodo_gateway_iteration(ASSETCHAINS_SYMBOL);
|
||||
sleep(1);
|
||||
}
|
||||
if (!boost::filesystem::is_directory(GetDataDir(false)))
|
||||
|
||||
@@ -392,6 +392,7 @@ void komodo_gateway_iteration(char *symbol)
|
||||
if ( KMDHEIGHT <= 0 )
|
||||
KMDHEIGHT = 1;
|
||||
KOMODO_REALTIME = 0;
|
||||
printf("komodo_gateway_iteration\n");
|
||||
if ( (retstr= komodo_issuemethod((char *)"getinfo",0,port)) != 0 )
|
||||
{
|
||||
if ( (infoobj= cJSON_Parse(retstr)) != 0 )
|
||||
|
||||
Reference in New Issue
Block a user