1
0
Fork 0
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:
postmannen 2022-12-22 12:23:02 +01:00
parent 3f5b58ffab
commit 8015c46cba

View file

@ -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
// with registering and logging for the the new key.
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()
return
}