Browse Source

Test

etomic
jl777 7 years ago
parent
commit
a8e2bfadd3
  1. 2
      iguana/exchanges/LP_bitcoin.c

2
iguana/exchanges/LP_bitcoin.c

@ -2151,7 +2151,7 @@ int32_t bitcoin_wif2priv(uint8_t wiftaddr,uint8_t *addrtypep,bits256 *privkeyp,c
if ( buf[0] == 0x80 && buf[len-1] == 0 )
{
ptr = buf+1;
len--;
len -= 2;
} else ptr = buf;
hash = bits256_doublesha256(0,ptr,len - 4);
*addrtypep = (wiftaddr == 0) ? *ptr : ptr[1];

Loading…
Cancel
Save