Update protocol/pushnotificationclient/client.go

Co-authored-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
This commit is contained in:
Andrea Maria Piana 2020-08-17 13:35:43 +02:00
parent 2b2616f82c
commit 874d1d0fa6
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 1 additions and 1 deletions

View File

@ -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