Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
e4a4e0eb3d
  1. 2
      iguana/iguana_unspents.c

2
iguana/iguana_unspents.c

@ -815,8 +815,8 @@ int64_t iguana_fastfindinit(struct iguana_info *coin)
}
for (i=errs=0; i<0x100; i++)
{
sprintf(fname,"DB/%s/fastfind/%d",coin->symbol,i), OS_ensure_directory(fname);
fclose(coin->fastfps[i]);
sprintf(fname,"DB/%s/fastfind/%d",coin->symbol,i), OS_compatible_path(fname);
if ( (sortbuf= OS_filestr(&allocsize,fname)) != 0 )
{
qsort(sortbuf,allocsize/sizeof(bits256),sizeof(bits256),_bits256_cmp);

Loading…
Cancel
Save