|
|
@ -1181,10 +1181,10 @@ int64_t iguana_utxoaddr_gen(struct supernet_info *myinfo,struct iguana_info *coi |
|
|
|
sprintf(fname2,"%s/%s/utxoaddrs.%d",GLOBAL_DBDIR,coin->symbol,height), OS_portable_path(fname2); |
|
|
|
if ( iguana_utxoaddr_map(coin,fname2) != 0 ) |
|
|
|
{ |
|
|
|
if ( strcmp("BTCD",coin->symbol) == 0 ) |
|
|
|
if ( strcmp("BTC",coin->symbol) != 0 ) |
|
|
|
errs = iguana_utxoaddr_validate(myinfo,coin,height); |
|
|
|
printf("nogen %s HIST BALANCE %s %.8f errs %d\n",fname2,bits256_str(str,coin->utxoaddrhash),dstr(coin->histbalance),errs); |
|
|
|
if ( coin->histbalance > 0 ) |
|
|
|
if ( errs == 0 && coin->histbalance > 0 ) |
|
|
|
{ |
|
|
|
coin->RTheight = height; |
|
|
|
if ( (block= iguana_blockfind("utxogen",coin,coin->blocks.hwmchain.RO.hash2)) != 0 ) |
|
|
|