From c69eb81fe0dc5fc0ec04e139d7fd61307f37d8d8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 21 Dec 2017 00:39:02 +0700 Subject: [PATCH] Test --- iguana/exchanges/LP_bitcoin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_bitcoin.c b/iguana/exchanges/LP_bitcoin.c index 9a2421e91..34573c408 100644 --- a/iguana/exchanges/LP_bitcoin.c +++ b/iguana/exchanges/LP_bitcoin.c @@ -2155,7 +2155,7 @@ int32_t bitcoin_wif2priv(uint8_t wiftaddr,uint8_t *addrtypep,bits256 *privkeyp,c { memset(pbuf,0,sizeof(pbuf)); memcpy(pbuf,buf,len-4); - memcpy(&pbuf[28],&buf[len-4],4); + memcpy(&pbuf[34],&buf[len-4],4); ptr = pbuf; int32_t i; for (i=0; i<38; i++) printf("%02x ",pbuf[i]);