From 198ec880f119f6c870d13d69e1560ed94432d6da Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Jun 2017 18:38:33 +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 c63d58810..2bafb4aa8 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -174,7 +174,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i if ( utxo->spentflag == 0 && now > utxo->lastspentcheck+60 ) { utxo->lastspentcheck = now; - if ( LP_txvalue(utxo->coin,utxo->txid,utxo->vout) == 0 ) + /*if ( LP_txvalue(utxo->coin,utxo->txid,utxo->vout) == 0 ) { printf("txid.%s %s/v%d %.8f has been spent\n",utxo->coin,bits256_str(str,utxo->txid),utxo->vout,dstr(utxo->value)); LP_spentnotify(utxo,0); @@ -184,7 +184,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i printf("txid2.%s %s/v%d %.8f has been spent\n",utxo->coin,bits256_str(str,utxo->txid2),utxo->vout2,dstr(utxo->value2)); LP_spentnotify(utxo,1); } - else if ( LP_ismine(utxo) != 0 ) + else*/ if ( LP_ismine(utxo) != 0 ) { if ( strcmp(utxo->coin,"KMD") == 0 ) LP_priceping(pubsock,utxo,"BTC",profitmargin);