We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47783f5 commit 9c8056eCopy full SHA for 9c8056e
snow/validators/gvalidators/validator_state_client.go
@@ -17,8 +17,8 @@ import (
17
)
18
19
var (
20
- _ validators.State = (*Client)(nil)
21
- errFailedPublicKeyDecompress = errors.New("couldn't decompress public key")
+ _ validators.State = (*Client)(nil)
+ errFailedPublicKeyDeserialize = errors.New("couldn't deserialize public key")
22
23
24
type Client struct {
@@ -82,7 +82,7 @@ func (c *Client) GetValidatorSet(
82
// to the P-Chain and served by the gRPC server.
83
publicKey = new(bls.PublicKey).Deserialize(validator.PublicKey)
84
if publicKey == nil {
85
- return nil, errFailedPublicKeyDecompress
+ return nil, errFailedPublicKeyDeserialize
86
}
87
88
vdrs[nodeID] = &validators.GetValidatorOutput{
0 commit comments