@ -212,12 +212,14 @@ char *LP_instantdex_claim(struct iguana_info *coin,char *depositaddr,uint32_t ex
newarray=cJSON_CreateArray();
if((array=LP_instantdex_txids())!=0)
{
printf("claiming from.(%s)\n",jprint(array,0));
if((n=cJSON_GetArraySize(array))>0)
{
flag=0;
for(i=0;i<n;i++)
{
utxotxid=jbits256i(array,i);
printf("%d of %d: %s\n",i,n,bits256_str(str,utxotxid));
if(flag==1)
{
jaddibits256(newarray,utxotxid);
@ -248,7 +250,7 @@ char *LP_instantdex_claim(struct iguana_info *coin,char *depositaddr,uint32_t ex
claimtime=(uint32_t)time(NULL)-777;
if(claimtime<=expiration)
{
charstr[65];printf("claimtime.%u vs locktime.%u, need to wait %d seconds to %s claim %.8f\n",claimtime,expiration,(int32_t)expiration-claimtime,bits256_str(str,utxotxid),dstr(satoshis));
printf("claimtime.%u vs locktime.%u, need to wait %d seconds to %s claim %.8f\n",claimtime,expiration,(int32_t)expiration-claimtime,bits256_str(str,utxotxid),dstr(satoshis));
break;
}
else
@ -263,7 +265,7 @@ char *LP_instantdex_claim(struct iguana_info *coin,char *depositaddr,uint32_t ex