types/key: delete legacy NodeKey type.

Fixes #3206

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-11-02 14:14:32 -07:00
parent 7e6a1ef4f1
commit 17b5782b3a
4 changed files with 0 additions and 116 deletions

View File

@@ -305,10 +305,3 @@ func (k NodePublic) WireGuardGoString() string {
b[second+3] = b64((k.k[31] << 2) & 63)
return string(b)
}
// AsNodeKey returns k converted to a NodeKey.
//
// Cross-compatibility shim as part of #3206.
func (k NodePublic) AsNodeKey() NodeKey {
return k.Raw32()
}