Skip to content

Commit

Permalink
doc: fix "sign.verify" typo in crypto doc.
Browse files Browse the repository at this point in the history
Fix typo in example

PR-URL: #7411
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
rus0000 authored and MylesBorins committed Jul 12, 2016
1 parent 3ce574e commit 40bd4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ verify.end();

const public_key = getPublicKeySomehow();
const signature = getSignatureToVerify();
console.log(sign.verify(public_key, signature));
console.log(verify.verify(public_key, signature));
// Prints true or false
```

Expand Down

0 comments on commit 40bd4c1

Please sign in to comment.