jl777 8 years ago
parent
commit
dad4e6b52e
  1. 5
      iguana/iguana_unspents.c

5
iguana/iguana_unspents.c

@ -898,10 +898,7 @@ void iguana_unspents_mark(struct supernet_info *myinfo,struct iguana_info *coin,
void iguana_unspents_markinit(struct supernet_info *myinfo,struct iguana_info *coin)
{
static int32_t didinit;
char *filestr,fname[1024]; long filesize; bits256 filetxid; cJSON *array,*item; int32_t i,filevout,n,firstslot;
if ( didinit == 0 )
{
sprintf(fname,"%s/%s/utxo.json",GLOBAL_DBDIR,coin->symbol), OS_compatible_path(fname);
if ( (filestr= OS_filestr(&filesize,fname)) != 0 )
{
@ -931,8 +928,6 @@ void iguana_unspents_markinit(struct supernet_info *myinfo,struct iguana_info *c
} else printf("parse error.(%s)\n",filestr);
free(filestr);
} else printf("couldnt open.(%s)\n",fname);
didinit = 1;
}
}
int32_t iguana_RTunspent_check(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_outpoint outpt)

Loading…
Cancel
Save