Browse Source

Test

etomic
jl777 8 years ago
parent
commit
d78922b250
  1. 2
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_utxos.c

@ -511,7 +511,7 @@ cJSON *LP_inventory(char *symbol,int32_t iambob)
char str[65]; printf("iambob.%d iterate %s\n",iambob,bits256_str(str,utxo->payment.txid));
if ( LP_isunspent(utxo) != 0 && strcmp(symbol,utxo->coin) == 0 && utxo->iambob == iambob && LP_ismine(utxo) > 0 )
jaddi(array,LP_inventoryjson(cJSON_CreateObject(),utxo));
else printf("skip %s %d %d %d %d\n",bits256_str(str,utxo->payment.txid),LP_isunspent(utxo) != 0,strcmp(symbol,utxo->coin) == 0,utxo->iambob == iambob,LP_ismine(utxo) > 0);
else printf("skip %s %d %d %d %d\n",bits256_str(str,utxo->pubkey),LP_isunspent(utxo) != 0,strcmp(symbol,utxo->coin) == 0,utxo->iambob == iambob,LP_ismine(utxo) > 0);
}
return(array);
}

Loading…
Cancel
Save