Browse Source

Test

etomic
jl777 7 years ago
parent
commit
029857a3a2
  1. 1
      iguana/exchanges/LP_privkey.c

1
iguana/exchanges/LP_privkey.c

@ -269,6 +269,7 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan
}
else
{
printf("strlen %ld (%s)\n",strlen(passphrase),passphrase);
calc_NXTaddr(G.LP_NXTaddr,userpub.bytes,(uint8_t *)passphrase,(int32_t)strlen(passphrase));
conv_NXTpassword(privkey.bytes,pubkeyp->bytes,(uint8_t *)passphrase,(int32_t)strlen(passphrase));
privkey.bytes[0] &= 248, privkey.bytes[31] &= 127, privkey.bytes[31] |= 64;

Loading…
Cancel
Save