Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
8d75c99e48
  1. 4
      iguana/iguana777.c
  2. 2
      iguana/iguana_unspents.c

4
iguana/iguana777.c

@ -429,9 +429,9 @@ void iguana_update_balances(struct iguana_info *coin)
{
iguana_volatilespurge(coin,&bp->ramchain);
sprintf(fname,"%s/%s/accounts/debits.%d",GLOBAL_DBDIR,coin->symbol,bp->bundleheight);
//OS_removefile(fname,0);
OS_removefile(fname,0);
sprintf(fname,"%s/%s/accounts/lastspends.%d",GLOBAL_DBDIR,coin->symbol,bp->bundleheight);
//OS_removefile(fname,0);
OS_removefile(fname,0);
iguana_volatilesalloc(coin,&bp->ramchain,0);//i < hdrsi);
}
sleep(3);

2
iguana/iguana_unspents.c

@ -1168,7 +1168,7 @@ int64_t iguana_utxoaddr_gen(struct supernet_info *myinfo,struct iguana_info *coi
{
if ( strcmp("BTC",coin->symbol) != 0 )
errs = iguana_utxoaddr_validate(myinfo,coin,height);
printf("HIST BALANCE %.8f errs %d\n",dstr(coin->histbalance),errs);
printf("nogen HIST BALANCE %.8f errs %d\n",dstr(coin->histbalance),errs);
if ( coin->histbalance > 0 )
return(coin->histbalance);
}

Loading…
Cancel
Save