From b17d0bac7db6707e05ee3e4db6e15559dade3064 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 24 Jan 2018 12:59:58 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_bitcoin.c | 4 ++-- iguana/exchanges/LP_privkey.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_bitcoin.c b/iguana/exchanges/LP_bitcoin.c index b26d2c0fa..fadd13779 100644 --- a/iguana/exchanges/LP_bitcoin.c +++ b/iguana/exchanges/LP_bitcoin.c @@ -2219,9 +2219,9 @@ int32_t bitcoin_wif2priv(char *symbol,uint8_t wiftaddr,uint8_t *addrtypep,bits25 if ( len >= 32+offset ) { memcpy(privkeyp,buf+offset,32); - if ( len > 32+offset ) + /*if ( len > 32+offset ) printf("wif %s: extra byte %d len.%d vs %d addrtype.%d\n",wifstr,buf[32+offset],len,32+offset,(wiftaddr == 0) ? buf[0] : buf[1]); - else printf("%s is for uncompressed\n",wifstr); + else printf("%s is for uncompressed\n",wifstr);*/ } else { diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index c86edfde9..9beebd8c4 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -236,7 +236,7 @@ int32_t LP_wifstr_valid(char *symbol,char *wifstr) bitcoin_priv2wif(symbol,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); } else if ( bits256_nonz(privkey) != 0 )