From cd2766143dbad2001867cffa284a8bf9cc9575c6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 31 Oct 2017 12:26:24 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 2ac79a5c5..0e71e62be 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -225,6 +225,9 @@ cJSON *LP_NXT_decrypt(char *account,char *data,char *nonce,char *passphrase) char url[1024],*retstr; cJSON *retjson = 0; if ( account != 0 && data != 0 && nonce != 0 && passphrase != 0 ) { + sprintf(url,"http://127.0.0.1:7876/nxt?requestType=getAccountId&secretPhrase=%s",passphrase); + if ( (retstr= issue_curlt(url,LP_HTTP_TIMEOUT)) != 0 ) + printf("%s\n",retstr); sprintf(url,"http://127.0.0.1:7876/nxt?requestType=decryptFrom&account=%s&secretPhrase=%s&data=%s&nonce=%s",account,passphrase,data,nonce); //printf("issue.(%s)\n",url); if ( (retstr= issue_curlt(url,LP_HTTP_TIMEOUT)) != 0 )