mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 15:31:20 +00:00
ee5d75732d
* Add pkg crypto * Update go.yml Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
14 lines
468 B
Go
14 lines
468 B
Go
package common
|
|
|
|
import "errors"
|
|
|
|
// ErrZeroKey describes an error due to a zero secret key.
|
|
var ErrZeroKey = errors.New("received secret key is zero")
|
|
|
|
// ErrSecretUnmarshal describes an error which happens during unmarshalling
|
|
// a secret key.
|
|
var ErrSecretUnmarshal = errors.New("could not unmarshal bytes into secret key")
|
|
|
|
// ErrInfinitePubKey describes an error due to an infinite public key.
|
|
var ErrInfinitePubKey = errors.New("received an infinite public key")
|