From a095341a074abb286b36c10307058ed24385e013 Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Fri, 12 Sep 2014 13:37:22 -0700 Subject: [PATCH] print the public key --- examples/stealthmessage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/stealthmessage.js b/examples/stealthmessage.js index 7841e701f..5ed227df8 100644 --- a/examples/stealthmessage.js +++ b/examples/stealthmessage.js @@ -37,6 +37,8 @@ console.log('The randomly generated address the message is to: ' + address); var pubkey = Pubkey().fromDER(encbuf.slice(20, 20 + 33)); +console.log('Nonce public key: ' + pubkey); + //The owner of the stealth key can check to see if it is for them. console.log('Is the message for me? ' + (StealthMessage.isForMe(encbuf, sk) ? "yes" : "no"));