1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

more todo

This commit is contained in:
postmannen 2022-05-11 14:23:59 +02:00
parent d249f58756
commit c67acad1e0

View file

@ -2072,7 +2072,7 @@ func (m methodREQPublicKeysGet) handler(proc process, message Message, node stri
er := fmt.Errorf("error: REQPublicKeysGet, failed to marshal keys map: %v", err) er := fmt.Errorf("error: REQPublicKeysGet, failed to marshal keys map: %v", err)
proc.errorKernel.errSend(proc, message, er) proc.errorKernel.errSend(proc, message, er)
} }
fmt.Printf("\n * SENDING KEYS TO NODE=%v\n", message.FromNode)
newReplyMessage(proc, message, b) newReplyMessage(proc, message, b)
} }
}() }()
@ -2151,6 +2151,8 @@ func (m methodREQPublicKeysToNode) handler(proc process, message Message, node s
// ---- // ----
// TODO: We should also add a request method methodREQPublicKeysRevoke
type methodREQPublicKeysAllow struct { type methodREQPublicKeysAllow struct {
event Event event Event
} }