diff --git a/machine.go b/machine.go index 89f0c7e7..960683eb 100644 --- a/machine.go +++ b/machine.go @@ -600,8 +600,8 @@ func (machine Machine) toNode( } var machineKey key.MachinePublic + // MachineKey is only used in the legacy protocol if machine.MachineKey != "" { - // MachineKey is only used in the legacy protocol err = machineKey.UnmarshalText( []byte(MachinePublicKeyEnsurePrefix(machine.MachineKey)), )