Browse Source

Test

etomic
jl777 8 years ago
parent
commit
ea94d549c1
  1. 1
      iguana/exchanges/LP_utxos.c

1
iguana/exchanges/LP_utxos.c

@ -923,6 +923,7 @@ char *LP_secretaddresses(void *ctx,char *passphrase,int32_t n,uint8_t taddr,uint
sprintf(buf,"secretaddress %s %03d",passphrase,i);
conv_NXTpassword(privkey.bytes,pubkey.bytes,(uint8_t *)buf,(int32_t)strlen(buf));
bitcoin_priv2pub(ctx,pubkey33,coinaddr,privkey,taddr,pubtype);
bitcoin_priv2wif(0,wifstr,privkey,188);
bitcoin_wif2priv(0,&tmptype,&checkprivkey,wifstr);
if ( bits256_cmp(checkprivkey,privkey) != 0 )
{

Loading…
Cancel
Save