Browse Source

Test

etomic
jl777 7 years ago
parent
commit
d3a438a4db
  1. 2
      iguana/exchanges/LP_rpc.c

2
iguana/exchanges/LP_rpc.c

@ -209,7 +209,7 @@ cJSON *LP_NXT_decrypt(uint64_t txnum,char *account,char *data,char *nonce,char *
int64_t NXTventure_qty(uint64_t assetid) int64_t NXTventure_qty(uint64_t assetid)
{ {
char url[1024],*retstr; uint64_t qty=0; cJSON *retjson; char url[1024],*retstr; uint64_t qty=0; cJSON *retjson;
sprintf(url,"http://127.0.0.1:7876/nxt?requestType=getAccounts&accountRS=NXT-XRK4-5HYK-5965-9FH4Z"); sprintf(url,"http://127.0.0.1:7876/nxt?requestType=getAccounts&account=NXT-XRK4-5HYK-5965-9FH4Z&includeAssets=true");
if ( (retstr= issue_curlt(url,LP_HTTP_TIMEOUT)) != 0 ) if ( (retstr= issue_curlt(url,LP_HTTP_TIMEOUT)) != 0 )
{ {
printf("NXT_venture_qty(%s)\n",retstr); printf("NXT_venture_qty(%s)\n",retstr);

Loading…
Cancel
Save