Skip to content
Snippets Groups Projects
Commit b88c8d02 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

cleanup err msg

parent 4eeda5cd
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ package mnemonic
import (
"errors"
bip39 "github.com/tyler-smith/go-bip39"
"gitlab.com/xx_network/crypto/csprng"
)
......@@ -29,7 +30,7 @@ func GenerateMnemonic(rng csprng.Source, numBytes int) (string, error) {
return "", err
}
if bytesGenerated != numBytes {
return "", errors.New("Could not fully read entropy source")
return "", errors.New("could not fully read entropy source")
}
return EncodeMnemonic(entropy)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment