Update protocol/pushnotificationclient/client.go
Co-authored-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
This commit is contained in:
parent
2b2616f82c
commit
874d1d0fa6
|
@ -323,7 +323,7 @@ func (c *Client) processQueryInfo(clientPublicKey *ecdsa.PublicKey, serverPublic
|
|||
// make sure the public key matches
|
||||
if !bytes.Equal(info.PublicKey, common.HashPublicKey(clientPublicKey)) {
|
||||
c.config.Logger.Warn("reply for different key, ignoring")
|
||||
return errors.New("reply for a different key, ignoreing")
|
||||
return errors.New("reply for a different key, ignoring")
|
||||
}
|
||||
|
||||
accessToken := info.AccessToken
|
||||
|
|
Loading…
Reference in New Issue