Closed fasmat closed 1 year ago
In #205 the whole private key is passed to ed25519.NewKeyFromSeed while it should only be the first 32 bytes (the seed - the rest is the public key).
ed25519.NewKeyFromSeed
This PR fixes this oversight.
👍 Perhaps postcli deserves some unit tests.
Will come with https://github.com/spacemeshos/post/issues/199
In #205 the whole private key is passed to
ed25519.NewKeyFromSeed
while it should only be the first 32 bytes (the seed - the rest is the public key).This PR fixes this oversight.