jl777 7 years ago
parent
commit
3e28dd849a
  1. 2
      iguana/exchanges/LP_transaction.c
  2. 2
      iguana/exchanges/LP_utxo.c

2
iguana/exchanges/LP_transaction.c

@ -1597,7 +1597,7 @@ char *LP_withdraw(struct iguana_info *coin,cJSON *argjson)
for (i=0; i<numvins; i++)
{
item = jitem(vins,i);
//printf("set available %s\n",jprint(item,0));
printf("set available %s\n",jprint(item,0));
LP_availableset(jbits256(item,"txid"),jint(item,"vout"));
}
free_json(vins), vins = 0;

2
iguana/exchanges/LP_utxo.c

@ -70,7 +70,7 @@ int32_t _LP_inuse_delete(bits256 txid,int32_t vout)
*lp = LP_inuse[--LP_numinuse];
lp->ind = ind;
memset(&LP_inuse[LP_numinuse],0,sizeof(struct LP_inuse_info));
//printf("_LP_inuse_delete mark as free %s/v%d find.%p\n",bits256_str(str,txid),vout,_LP_inuse_find(txid,vout));
printf("_LP_inuse_delete mark as free %s/v%d find.%p\n",bits256_str(str,txid),vout,_LP_inuse_find(txid,vout));
for (ind=0; ind<LP_numinuse; ind++)
if ( LP_inuse[ind].ind != ind )
printf("ind.%d of %d: mismatched ind.%d\n",ind,LP_numinuse,LP_inuse[ind].ind);

Loading…
Cancel
Save