From 2f554133c5d849d2a4ca92cd8020dd1dd3a589b7 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Fri, 19 Aug 2022 23:49:06 +0200 Subject: [PATCH] Move comment up Co-authored-by: Kristoffer Dalby --- machine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)), )