Skip to content

Commit 97dc38e

Browse files
rus0000jasnell
authored andcommitted
doc: fix "sign.verify" typo in crypto doc.
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]>
1 parent 6abb06f commit 97dc38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ verify.end();
809809

810810
const public_key = getPublicKeySomehow();
811811
const signature = getSignatureToVerify();
812-
console.log(sign.verify(public_key, signature));
812+
console.log(verify.verify(public_key, signature));
813813
// Prints true or false
814814
```
815815

0 commit comments

Comments
 (0)