|
|
@ -353,7 +353,7 @@ int32_t LP_address_utxo_ptrs(struct iguana_info *coin,int32_t iambob,struct LP_a |
|
|
|
{ |
|
|
|
if ( LP_value_extract(txout,0) == 0 ) |
|
|
|
{ |
|
|
|
char str[65]; printf("LP_address_utxo_ptrs skip zero value %s/v%d\n",bits256_str(str,up->U.txid),up->U.vout); |
|
|
|
//char str[65]; printf("LP_address_utxo_ptrs skip zero value %s/v%d\n",bits256_str(str,up->U.txid),up->U.vout);
|
|
|
|
free_json(txout); |
|
|
|
up->spendheight = 1; |
|
|
|
if ( (tx= LP_transactionfind(coin,up->U.txid)) != 0 && up->U.vout < tx->numvouts ) |
|
|
@ -364,7 +364,7 @@ char str[65]; printf("LP_address_utxo_ptrs skip zero value %s/v%d\n",bits256_str |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
char str[65]; printf("LP_address_utxo_ptrs skips %s %s payment %s/v%d is spent\n",coin->symbol,coinaddr,bits256_str(str,up->U.txid),up->U.vout); |
|
|
|
//char str[65]; printf("LP_address_utxo_ptrs skips %s %s payment %s/v%d is spent\n",coin->symbol,coinaddr,bits256_str(str,up->U.txid),up->U.vout);
|
|
|
|
up->spendheight = 1; |
|
|
|
if ( (tx= LP_transactionfind(coin,up->U.txid)) != 0 && up->U.vout < tx->numvouts ) |
|
|
|
tx->outpoints[up->U.vout].spendheight = 1; |
|
|
@ -386,11 +386,10 @@ char str[65]; printf("LP_address_utxo_ptrs skips %s %s payment %s/v%d is spent\n |
|
|
|
utxos[n++] = up; |
|
|
|
if ( n >= max ) |
|
|
|
break; |
|
|
|
} else printf("LP_allocated skip %u\n",LP_allocated(up->U.txid,up->U.vout)); |
|
|
|
} //else printf("LP_allocated skip %u\n",LP_allocated(up->U.txid,up->U.vout));
|
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
printf("avoid case\n"); |
|
|
|
if ( (tx= LP_transactionfind(coin,up->U.txid)) != 0 && up->U.vout < tx->numvouts ) |
|
|
|
tx->outpoints[up->U.vout].spendheight = 1; |
|
|
|
} |
|
|
|