|
|
@ -433,8 +433,8 @@ cJSON *LP_listunspent(char *symbol,char *coinaddr,bits256 reftxid,bits256 reftxi |
|
|
|
numconfs = 0; |
|
|
|
else numconfs = 1; |
|
|
|
sprintf(buf,"[%d, 99999999, [\"%s\"]]",numconfs,coinaddr); |
|
|
|
printf("LP_listunspent.(%s %s)\n",symbol,coinaddr); |
|
|
|
retjson = bitcoin_json(coin,"listunspent",buf); |
|
|
|
printf("LP_listunspent.(%s %s) -> %s\n",symbol,coinaddr,jprint(retjson,0)); |
|
|
|
if ( (n= cJSON_GetArraySize(retjson)) > 0 ) |
|
|
|
{ |
|
|
|
array = cJSON_CreateArray(); |
|
|
|