ipn/ipnstate: use key.NodePublic instead of tailcfg.NodeKey.

Updates #3206

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-11-01 18:38:24 -07:00
committed by Dave Anderson
parent c3d7115e63
commit c17250cee2
5 changed files with 9 additions and 9 deletions

View File

@@ -90,7 +90,7 @@ func TestLocalLogLines(t *testing.T) {
TxBytes: 10,
RxBytes: 10,
LastHandshake: time.Now(),
NodeKey: key.NewNode().Public().AsNodeKey(),
NodeKey: key.NewNode().Public(),
}},
})
lb.mu.Unlock()
@@ -105,7 +105,7 @@ func TestLocalLogLines(t *testing.T) {
TxBytes: 11,
RxBytes: 12,
LastHandshake: time.Now(),
NodeKey: key.NewNode().Public().AsNodeKey(),
NodeKey: key.NewNode().Public(),
}},
})
lb.mu.Unlock()