From 100e147b7d982e032546864df378e0f8d34f0072 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 8 Jul 2017 13:05:48 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 80c079c49..055b4a49c 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -150,8 +150,9 @@ char *LP_process_message(void *ctx,char *typestr,char *myipaddr,int32_t pubsock, encrypted = 1; portable_mutex_lock(&LP_commandmutex); i = LP_crc32find(&duplicate,-1,crc32); - printf("%s %s dup.%d encrypted.%d recv.%u [%02x %02x] vs %02x %02x\n",typestr,(char *)ptr,duplicate,encrypted,crc32,ptr[0],ptr[1],crc32&0xff,(crc32>>8)&0xff); -//duplicate = 0; + printf("%s dup.%d encrypted.%d recv.%u [%02x %02x] vs %02x %02x\n",typestr,duplicate,encrypted,crc32,ptr[0],ptr[1],crc32&0xff,(crc32>>8)&0xff); +if ( IAMLP != 0 ) + duplicate = 0; if ( duplicate == 0 ) { LP_crc32find(&duplicate,i,crc32);