From 0d1ee1a7a24065099ded17fe0a9b9fe102b9f400 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 3 Jun 2017 09:14:06 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_utxos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 7a44196b9..5f897a525 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -227,7 +227,7 @@ char *LP_inventory(char *symbol) struct LP_utxoinfo *utxo,*tmp; cJSON *array = cJSON_CreateArray(); HASH_ITER(hh,LP_utxoinfos,utxo,tmp) { - if ( strcmp(symbol,utxo->coin) == 0 ) + if ( strcmp(symbol,utxo->coin) == 0 && (IAMCLIENT != 0 || strcmp(utxo->ipaddr,"127.0.0.1") != 0) ) jaddi(array,LP_inventoryjson(cJSON_CreateObject(),utxo)); } return(jprint(array,1));