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

updated comments

This commit is contained in:
postmannen 2022-06-22 14:43:01 +02:00
parent b3bb2e44a1
commit 4b0a156ae1

View file

@ -455,7 +455,7 @@ func newReplyMessage(proc process, message Message, outData []byte) {
// TODO: Check that we still got all the fields present that are needed here.
newMsg := Message{
ToNode: message.FromNode,
// The ToNodes field is not needed since it only a concept that exists when messages
// The ToNodes field is not needed since it is only a concept that exists when messages
// are injected f.ex. on a socket, and there they are directly converted into separate
// node messages. With other words a message in the system are only for single nodes,
// so we don't have to worry about the ToNodes field when creating reply messages.