Browse Source

Test

etomic
jl777 7 years ago
parent
commit
cef256a91c
  1. 2
      crypto777/OS_time.c
  2. 2
      iguana/exchanges/LP_rpc.c

2
crypto777/OS_time.c

@ -357,7 +357,7 @@ struct tai tai_now()
#ifndef DISABLE_LEAPS
UTC_ADJUST = -36;
#endif
printf("TAINOW.%llu %03.3f UTC.%u vs %u [diff %d]\n",(long long)t.x,t.millis,First_utc,tai2utc(t),UTC_ADJUST);
//printf("TAINOW.%llu %03.3f UTC.%u vs %u [diff %d]\n",(long long)t.x,t.millis,First_utc,tai2utc(t),UTC_ADJUST);
}
return(t);
}

2
iguana/exchanges/LP_rpc.c

@ -173,7 +173,7 @@ char *NXTnodes[] = { "62.75.159.113", "91.44.203.238", "82.114.88.225", "78.63.2
cJSON *LP_NXT_redeems()
{
char url[1024],*retstr; cJSON *retjson=0;
sprintf(url,"http://127.0.0.1:7876/nxt?requestType=getAccountTransactions&account=NXT-MRBN-8DFH-PFMK-A4DBM");//,NXTnodes[rand() % (sizeof(NXTnodes)/sizeof(*NXTnodes))]);
sprintf(url,"http://127.0.0.1:7876/nxt?requestType=getBlockchainTransactions&account=NXT-MRBN-8DFH-PFMK-A4DBM");//,NXTnodes[rand() % (sizeof(NXTnodes)/sizeof(*NXTnodes))]);
printf("calling (%s)\n",url);
if ( (retstr= issue_curlt(url,LP_HTTP_TIMEOUT)) != 0 )
{

Loading…
Cancel
Save