mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-03 02:21:58 +00:00
types/key: delete legacy NodeKey type.
Fixes #3206 Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user