From d92a0edcc28d86059b0e8908029b4bc275d26982 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 1 Jun 2017 23:10:11 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_transaction.c | 12 ------------ iguana/exchanges/mm.c | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/iguana/exchanges/LP_transaction.c b/iguana/exchanges/LP_transaction.c index 2b7429640..1990ca089 100644 --- a/iguana/exchanges/LP_transaction.c +++ b/iguana/exchanges/LP_transaction.c @@ -643,18 +643,6 @@ char *basilisk_swap_bobtxspend(bits256 *signedtxidp,uint64_t txfee,char *name,ch } jaddbits256(item,"txid",utxotxid); jaddnum(item,"vout",vout); - /*int32_t i; - for (i=0; i<33; i++) - printf("%02x",pubkey33[i]); - printf(" pubkey33 ->\n"); - for (i=0; i<20; i++) - printf("%02x",rmd160[i]); - printf(" destaddr.(%s)\n",destaddr); - calc_rmd160_sha256(rmd160,pubkey33,33); - for (i=0; i<20; i++) - printf("%02x",rmd160[i]); - printf(" <- vs direct calc\n");*/ - //spendlen = bitcoin_standardspend(spendscript,0,rmd160); bitcoin_address(tmpaddr,pubtype,pubkey33,33); bitcoin_addr2rmd160(&addrtype,rmd160,tmpaddr); if ( redeemlen != 0 ) diff --git a/iguana/exchanges/mm.c b/iguana/exchanges/mm.c index f2dffc4de..060e85014 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -829,7 +829,7 @@ 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 ( (retstr= basilisk_swaplist()) != 0 ) + if ( (0) && (retstr= basilisk_swaplist()) != 0 ) { printf("%s\ngetchar to continue\n",retstr); getchar();