From f7aa7cf5aa38f48b3b4c5ab4bad08425b0c7d51d Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Jun 2017 11:52:09 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 780942e1d..c851d0bf0 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -241,13 +241,15 @@ int32_t LP_mainloop_iter(char *myipaddr,struct LP_peerinfo *mypeer,int32_t pubso peer->diduquery = now; } } - if ( lastforward < now-3600 ) - { - LP_forwarding_register(LP_mypubkey,pushaddr,10); - lastforward = now; - } if ( (counter % 600) == 300 ) + { LP_myutxo_updates(pubsock,passphrase,profitmargin); + if ( lastforward < now-3600 ) + { + LP_forwarding_register(LP_mypubkey,pushaddr,10); + lastforward = now; + } + } if ( (counter % 600) == 0 ) { HASH_ITER(hh,LP_utxoinfos[0],utxo,utmp)