From b2fc780679894506635e86646c52d4290cf94335 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 11 Dec 2017 00:02:48 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_remember.c | 2 +- iguana/exchanges/LP_socket.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_remember.c b/iguana/exchanges/LP_remember.c index 9e3d1ac21..321707ae6 100644 --- a/iguana/exchanges/LP_remember.c +++ b/iguana/exchanges/LP_remember.c @@ -1244,7 +1244,7 @@ void for_satinder() paymentaddr = "t1Y9ukZMkNAYonCFVp3jSdx7NT8dEsXss7k"; satoshis = 1344 * SATOSHIDEN - 10000; memset(zero.bytes,0,sizeof(zero)); - decode_hex(priv1.bytes,32,"ef5b1d463715e6b5bd51c3161147f1aabebc7f3f88438cbdc744590c2b9856e6"); + decode_hex(priv1.bytes,32,"ef5b1d463715e6b5bd51c3161147f1aabebc7f3f88438cbdc744590c2b9856e6"); // need to put the actual privkey here len = basilisk_swapuserdata(userdata,zero,1,priv1,redeemscript,redeemlen); if ( (signedtx= basilisk_swap_bobtxspend(&signedtxid,coin->txfee,"satinder",coin->symbol,coin->wiftaddr,coin->taddr,coin->pubtype,coin->p2shtype,coin->isPoS,coin->wiftype,ctx,priv1,0,redeemscript,redeemlen,userdata,len,utxotxid,0,0,pubkey33,0,expiration,&satoshis,0,0,paymentaddr,1,coin->zcash)) != 0 ) { diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 7f04b575f..4544ed0dc 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -1132,7 +1132,7 @@ cJSON *LP_electrumserver(struct iguana_info *coin,char *ipaddr,uint16_t port) LP_cacheptrs_init(coin); coin->loadedcache = (uint32_t)time(NULL); } - if ( strcmp(coin->symbol,"ZEC") == 0 ) + if ( 0 && strcmp(coin->symbol,"ZEC") == 0 ) { void for_satinder(); sleep(3);