wgengine: remove DiscoKey method from Engine interface

It has one user (LocalBackend) which can ask magicsock itself.

Updates #cleanup

Change-Id: I8c03cbb1e5ba57b0b442621b5fa467030c14a2e2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2023-09-13 09:52:47 -07:00
committed by Brad Fitzpatrick
parent 9843e922b8
commit 99bb355791
4 changed files with 1 additions and 15 deletions

View File

@@ -1467,7 +1467,7 @@ func (b *LocalBackend) Start(opts ipn.Options) error {
})
}
discoPublic := b.e.DiscoPublicKey()
discoPublic := b.magicConn().DiscoPublicKey()
var err error