jl777 8 years ago
parent
commit
943d261e7c
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_ordermatch.c
  3. 4
      iguana/exchanges/LP_rpc.c

2
iguana/exchanges/LP_nativeDEX.c

@ -322,7 +322,7 @@ int32_t LP_utxos_sync(struct LP_peerinfo *peer)
if ( coin->inactive != 0 || coin->obooktime == 0 )
continue;
total = 0;
//printf("from utxos_sync\n");
printf("from utxos_sync\n");
LP_listunspent_both(coin->symbol,coin->smartaddr);
if ( (array= LP_address_utxos(coin,coin->smartaddr,1)) != 0 )
{

2
iguana/exchanges/LP_ordermatch.c

@ -695,7 +695,7 @@ int32_t LP_listunspent_both(char *symbol,char *coinaddr)
//printf("issue path electrum.%p\n",coin->electrum);
//if ( coin->electrum != 0 && (array= electrum_address_gethistory(symbol,coin->electrum,&array,coinaddr)) != 0 )
// free_json(array);
//printf("listunspent_both\n");
printf("listunspent_both\n");
n = LP_listunspent_issue(symbol,coinaddr);
}
else

4
iguana/exchanges/LP_rpc.c

@ -491,7 +491,9 @@ int32_t LP_listunspent_issue(char *symbol,char *coinaddr)
{
n = cJSON_GetArraySize(retjson);
printf("LP_listunspent_issue.%s %s.%d %s\n",symbol,coinaddr,n,jprint(retjson,0));
}
if ( strcmp(symbol,"ARG") == 0 )
assert(0);
}
}
else
{

Loading…
Cancel
Save