Browse Source

making a keypair is unnecessary

patch-2
Ryan X. Charles 10 years ago
parent
commit
8b875a5926
  1. 5
      examples/stealthmessage.js

5
examples/stealthmessage.js

@ -15,11 +15,6 @@ var sa = StealthAddress().fromStealthkey(sk);
console.log('Stealth address: ' + sa);
//The person sending must have a keypair.
//It is best to make a new one for each message sent.
var keypair = Keypair().fromRandom();
//Now make a message.
var messagebuf = new Buffer('Hello there. Only you know this message is to you, and only you know what it says.');

Loading…
Cancel
Save