Skip to content
Prev Previous commit
Next Next commit
doc: add missing line break in crypto code example
Currently, the code throws. Fixed basing on the history.
  • Loading branch information
vsemozhetbyt committed Jan 20, 2017
commit b74e5f9ae2be07462da038ecb39d115dc7953d6e
3 changes: 2 additions & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,8 @@ alice.setPrivateKey(
);

// Bob uses a newly generated cryptographically strong
// pseudorandom key pair bob.generateKeys();
// pseudorandom key pair
bob.generateKeys();

const aliceSecret = alice.computeSecret(bob.getPublicKey(), null, 'hex');
const bobSecret = bob.computeSecret(alice.getPublicKey(), null, 'hex');
Expand Down