making a keypair is unnecessary
This commit is contained in:
parent
aa4251bff6
commit
8b875a5926
|
@ -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…
Reference in New Issue