From 105b2fe074e0b703777adfaf5e9c7918f6071079 Mon Sep 17 00:00:00 2001 From: RangerMauve Date: Sat, 8 Sep 2018 16:06:02 -0400 Subject: Update 0002-hypercore.md --- proposals/0002-hypercore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proposals') 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) } ``` -- cgit v1.2.3