From 48d35fba41cae08aecc27db1ad2518746337a9b4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 12 Dec 2017 21:10:39 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_privkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index 724815ee3..d5af3e513 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -211,7 +211,7 @@ int32_t LP_wifstr_valid(char *wifstr) bitcoin_priv2wif(0,cmpstr,privkey,wiftype); if ( strcmp(cmpstr,wifstr) == 0 ) { - printf("%s is valid wif\n",wifstr); + //printf("%s is valid wif\n",wifstr); return(1); } } @@ -235,7 +235,7 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan else { bitcoin_wif2priv(coin->wiftaddr,&tmptype,&privkey,wifstr); - if ( 0 ) + if ( 1 ) { char str[65],str2[65]; checkkey = iguana_wif2privkey(wifstr);