|
|
@ -366,6 +366,12 @@ int32_t LP_address_utxo_ptrs(struct iguana_info *coin,int32_t iambob,struct LP_a |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
if ( (tx= LP_transactionfind(coin,up->U.txid)) != 0 && up->U.vout < tx->numvouts ) |
|
|
|
tx->outpoints[up->U.vout].spendheight = 1; |
|
|
|
} |
|
|
|
if ( LP_allocated(up->U.txid,up->U.vout) == 0 ) |
|
|
|
{ |
|
|
|
if ( coin->electrum == 0 ) |
|
|
@ -392,12 +398,6 @@ int32_t LP_address_utxo_ptrs(struct iguana_info *coin,int32_t iambob,struct LP_a |
|
|
|
break; |
|
|
|
} //else printf("LP_allocated skip %u\n",LP_allocated(up->U.txid,up->U.vout));
|
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
if ( (tx= LP_transactionfind(coin,up->U.txid)) != 0 && up->U.vout < tx->numvouts ) |
|
|
|
tx->outpoints[up->U.vout].spendheight = 1; |
|
|
|
} |
|
|
|
} |
|
|
|
//portable_mutex_unlock(&LP_utxomutex);
|
|
|
|
//printf("return n.%d for %s %s\n",n,coin->symbol,coinaddr);
|
|
|
|
return(n); |
|
|
|