Browse Source

Test

etomic
jl777 8 years ago
parent
commit
e554fdb6aa
  1. 2
      iguana/exchanges/LP_prices.c

2
iguana/exchanges/LP_prices.c

@ -378,7 +378,7 @@ int32_t LP_orderbook_utxoentries(uint32_t now,char *base,char *rel,char *symbol,
struct LP_utxoinfo *utxo,*tmp; struct LP_peerinfo *peer,*ptmp; char *retstr; cJSON *retjson; struct LP_orderbookentry *op; uint64_t basesatoshis;
HASH_ITER(hh,LP_utxoinfos[1],utxo,tmp)
{
if ( strcmp(symbol,utxo->coin) == 0 && LP_isavailable(utxo) > 0 )
if ( bits256_cmp(pubkey,utxo->pubkey) == 0 && strcmp(symbol,utxo->coin) == 0 && LP_isavailable(utxo) > 0 )
{
if ( LP_orderbookfind(*arrayp,cachednum,utxo->payment.txid,utxo->payment.vout) < 0 )
{

Loading…
Cancel
Save