jl777 8 years ago
parent
commit
6ac50c8278
  1. 4
      basilisk/basilisk_DEX.c

4
basilisk/basilisk_DEX.c

@ -488,11 +488,11 @@ STRING_ARG(InstantDEX,available,source)
for (i=0; i<n; i++) for (i=0; i<n; i++)
{ {
item = jitem(unspents,i); item = jitem(unspents,i);
if ( jobj(item,"unspent") != 0 ) //if ( jobj(item,"unspent") != 0 )
{ {
total += jdouble(item,"amount") * SATOSHIDEN; total += jdouble(item,"amount") * SATOSHIDEN;
} }
printf("(%s) -> %.8f\n",jprint(item,0),dstr(total)); //printf("(%s) -> %.8f\n",jprint(item,0),dstr(total));
} }
} }
free_json(unspents); free_json(unspents);

Loading…
Cancel
Save