Browse Source

Test

etomic
jl777 8 years ago
parent
commit
d92a0edcc2
  1. 12
      iguana/exchanges/LP_transaction.c
  2. 2
      iguana/exchanges/mm.c

12
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 )

2
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();

Loading…
Cancel
Save