Browse Source

Test

etomic
jl777 7 years ago
parent
commit
6c0021d007
  1. 4
      iguana/exchanges/LP_commands.c
  2. 1
      iguana/exchanges/LP_rpc.c

4
iguana/exchanges/LP_commands.c

@ -385,6 +385,10 @@ dividends(coin, height, <args>)\n\
LP_privkey_init(-1,ptr,G.LP_mypriv25519,G.LP_mypub25519);
//LP_smartutxos_push(ptr);
}
else
{
}
}
return(jprint(LP_address_utxos(ptr,coinaddr,1),1));
} else return(clonestr("{\"error\":\"no address specified\"}"));

1
iguana/exchanges/LP_rpc.c

@ -463,6 +463,7 @@ int32_t LP_listunspent_issue(char *symbol,char *coinaddr)
else if ( (destport= LP_randpeer(destip)) > 0 )
{
retstr = issue_LP_listunspent(destip,destport,symbol,coinaddr);
printf("issue %s %s %s -> (%s)\n",coin->symbol,coinaddr,destip,retstr);
retjson = cJSON_Parse(retstr);
} else printf("LP_listunspent_issue couldnt get a random peer?\n");
if ( retjson != 0 )

Loading…
Cancel
Save