Browse Source

Test

etomic
jl777 7 years ago
parent
commit
d591bd67be
  1. 5
      iguana/exchanges/LP_rpc.c

5
iguana/exchanges/LP_rpc.c

@ -291,8 +291,9 @@ char *account = "NXT-MRBN-8DFH-PFMK-A4DBM";
msgstr = "encryptedMessage";//jstr(encjson,"data");
if ( (decjson= LP_NXT_decrypt(txnum,account,jstr(encjson,"data"),jstr(encjson,"nonce"),passphrase)) != 0 )
{
printf("%s\n",jprint(decjson,0));
msgstr = jstr(decjson,"decryptedMessage");
//printf("%s\n",jprint(decjson,0));
if ( jstr(decjson,"decryptedMessage") != 0 )
msgstr = jstr(decjson,"decryptedMessage");
}
}
}

Loading…
Cancel
Save