Browse Source

Test

etomic
jl777 7 years ago
parent
commit
a404823f4e
  1. 3
      iguana/exchanges/LP_nativeDEX.c

3
iguana/exchanges/LP_nativeDEX.c

@ -321,10 +321,13 @@ void command_rpcloop(void *myipaddr)
void LP_smartutxos_push(struct iguana_info *coin)
{
struct LP_peerinfo *peer,*tmp; uint64_t value; bits256 txid; int32_t i,vout,height,n; char *retstr; cJSON *array,*item;
if ( coin->smartaddr[0] == 0 )
return;
if ( (array= LP_address_utxos(coin,coin->smartaddr,1)) != 0 )
{
if ( (n= cJSON_GetArraySize(array)) > 0 )
{
printf("PUSH %s %s\n",coin->symbol,coin->smartaddr);
for (i=0; i<n; i++)
{
item = jitem(array,i);

Loading…
Cancel
Save