From 300e3220756937e51910dcdc9cc0b1a788bde84f Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 1 Mar 2018 16:03:58 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 2 +- iguana/exchanges/LP_privkey.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 558885c0b..0776d8883 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -1276,7 +1276,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu if ( passphrase == 0 || passphrase[0] == 0 ) { printf("jeezy says we cant use the nullstring as passphrase and I agree\n"); - exit(-1); + //exit(-1); } IAMLP = !amclient; #ifndef __linux__ diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index b30cec805..70d8757c7 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -336,6 +336,9 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan RS_encode(G.LP_NXTaddr,nxtaddr); } bitcoin_priv2pub(ctx,coin->symbol,coin->pubkey33,coin->smartaddr,privkey,coin->taddr,coin->pubtype); + int32_t i; for (i=0; i<33; i++) + printf("%02x",coin->pubkey33[i]); + printf("pubkey33\n"); #ifndef NOTETOMIC if ( coin->etomic[0] != 0 ) {