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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
rus0000 authored and Myles Borins committed Jul 14, 2016
1 parent 35ee35c commit 6c94c67
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 6c94c67

Please sign in to comment.