mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
removed printing of equal keys
This commit is contained in:
parent
3f5b58ffab
commit
8015c46cba
1 changed files with 0 additions and 1 deletions
|
@ -130,7 +130,6 @@ func (c *centralAuth) addPublicKey(proc process, msg Message) {
|
||||||
// so we check if the values are the same as the one we already got before we continue
|
// so we check if the values are the same as the one we already got before we continue
|
||||||
// with registering and logging for the the new key.
|
// with registering and logging for the the new key.
|
||||||
if ok && bytes.Equal(existingNotAckedKey, msg.Data) {
|
if ok && bytes.Equal(existingNotAckedKey, msg.Data) {
|
||||||
fmt.Printf(" * \nkey value for NOT-REGISTERED node %v is the same, doing nothing\n\n", msg.FromNode)
|
|
||||||
c.pki.nodeNotAckedPublicKeys.mu.Unlock()
|
c.pki.nodeNotAckedPublicKeys.mu.Unlock()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue