aboutsummaryrefslogtreecommitdiffstats
path: root/proposals
diff options
context:
space:
mode:
Diffstat (limited to 'proposals')
-rw-r--r--proposals/0002-hypercore.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/proposals/0002-hypercore.md b/proposals/0002-hypercore.md
index b5931ca..e5b562c 100644
--- a/proposals/0002-hypercore.md
+++ b/proposals/0002-hypercore.md
@@ -291,7 +291,7 @@ function sign (roots, secretKey) {
}
function verify (hash, signature, publicKey) {
- return ed25519.detached.verify(signature, publicKey)
+ return ed25519.detached.verify(hash, signature, publicKey)
}
```