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