diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 9f0fde29f..aed9a5d25 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/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"); } } }