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 jasnell committed Jun 27, 2016
1 parent 6abb06f commit 97dc38e
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 @@ -809,7 +809,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 97dc38e

Please sign in to comment.