various: remove remaining uses of key.NewPrivate.
Updates #3206 Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
@ -45,7 +45,7 @@ func TestNoteReceiveActivity(t *testing.T) {
|
||||
}
|
||||
ra := e.recvActivityAt
|
||||
|
||||
nk := tailcfg.NodeKey(key.NewPrivate().Public())
|
||||
nk := tailcfg.NodeKeyFromNodePublic(key.NewNode().Public())
|
||||
|
||||
// Activity on an untracked key should do nothing.
|
||||
e.noteRecvActivity(nk)
|
||||
|
Reference in New Issue
Block a user