Archived
1
0
This commit is contained in:
Jeff Becker 2017-08-25 10:33:27 -04:00
parent c6a79b8893
commit 2152cd3246
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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