Browse Source

Test

patch-3
jl777 7 years ago
parent
commit
55de8f9594
  1. 12
      iguana/exchanges/LP_utxo.c

12
iguana/exchanges/LP_utxo.c

@ -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);

Loading…
Cancel
Save