From a07747605a7b0f54a4811e359340247766c29c7e Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 28 Oct 2017 18:06:37 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 90f69923f..1def43b46 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -752,10 +752,10 @@ void LP_price_broadcastloop(void *ctx) relpp = LP_priceinfo(relind); if ( relpp->symbol[0] == 0 ) continue; - if ( basepp != 0 && relpp != 0 && (price= relpp->myprices[basepp->ind]) > SMALLVAL) + if ( basepp != 0 && relpp != 0 && (price= basepp->myprices[relpp->ind]) > SMALLVAL) { //printf("automated price broadcast %s/%s %.8f\n",relpp->symbol,basepp->symbol,price); - LP_pricepings(ctx,LP_myipaddr,LP_mypubsock,relpp->symbol,basepp->symbol,price); + LP_pricepings(ctx,LP_myipaddr,LP_mypubsock,basepp->symbol,relpp->symbol,price); } } }