jl777 7 years ago
parent
commit
a502ffe178
  1. 1
      iguana/exchanges/LP_commands.c

1
iguana/exchanges/LP_commands.c

@ -307,6 +307,7 @@ jpg(srcfile, destfile, power2=7, password, data="", required, ind=0)\n\
if ( (passphrase= jstr(argjson,"passphrase")) != 0 )
{
conv_NXTpassword(privkey.bytes,pub.bytes,(uint8_t *)passphrase,(int32_t)strlen(passphrase));
privkey.bytes[0] &= 248, privkey.bytes[31] &= 127, privkey.bytes[31] |= 64;
bitcoin_priv2pub(ctx,"KMD",pubkey33,coinaddr,privkey,0,60);
retjson = cJSON_CreateObject();
jaddstr(retjson,"passphrase",passphrase);

Loading…
Cancel
Save