Move comment up
@@ -600,8 +600,8 @@ func (machine Machine) toNode(
}
var machineKey key.MachinePublic
- if machine.MachineKey != "" {
// MachineKey is only used in the legacy protocol
+ if machine.MachineKey != "" {
err = machineKey.UnmarshalText(
[]byte(MachinePublicKeyEnsurePrefix(machine.MachineKey)),
)
