From 9da16dd7d44592d5b3b1cca26ffed411705eea14 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Jun 2017 11:14:28 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 6 ++++++ iguana/exchanges/mm.c | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 5ba9b7c54..e8efb2c5f 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -118,6 +118,12 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i if ( strcmp(peer->ipaddr,mypeer != 0 ? mypeer->ipaddr : "127.0.0.1") != 0 ) LP_utxosquery(0,mypeer,pubsock,peer->ipaddr,peer->port,"",100,mypeer != 0 ? mypeer->ipaddr : "127.0.0.1",myport,profitmargin); } + if ( (retstr= basilisk_swaplist()) != 0 ) + { + printf("%s\ngetchar to continue\n",retstr); + getchar(); + free(retstr); + } if ( amclient != 0 ) { while ( 1 ) diff --git a/iguana/exchanges/mm.c b/iguana/exchanges/mm.c index c69d170f0..080fb7325 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -829,12 +829,6 @@ int main(int argc, const char * argv[]) printf("error launching LP_main (%s)\n",jprint(retjson,0)); exit(-1); } else printf("(%s) launched.(%s)\n",argv[1],passphrase); - if ( (0) && (retstr= basilisk_swaplist()) != 0 ) - { - printf("%s\ngetchar to continue\n",retstr); - getchar(); - free(retstr); - } incr = 100.; while ( (0) && IAMCLIENT != 0 ) {