From 2152cd3246bdb2ca5a5c0102760a2d1e9f19a8f7 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Fri, 25 Aug 2017 10:33:27 -0400 Subject: [PATCH] idk --- contrib/backends/srndv2/src/srnd/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/backends/srndv2/src/srnd/util.go b/contrib/backends/srndv2/src/srnd/util.go index 7a66a6e..5d43a87 100644 --- a/contrib/backends/srndv2/src/srnd/util.go +++ b/contrib/backends/srndv2/src/srnd/util.go @@ -418,7 +418,7 @@ func seedToKeyPair(seed []byte) (pub ed25519.PublicKey, full ed25519.PrivateKey) h := sha512.Sum512(seed) seed = h[:] seed[0] &= 248 - seed[31] &= 63 + seed[31] &= 127 seed[31] |= 64 var in [32]byte var out [32]byte