mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Re-add PublicKey
to configuration file
This commit is contained in:
parent
e5e8c84d7c
commit
af15f8adf3
2 changed files with 17 additions and 7 deletions
|
@ -136,8 +136,7 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
privateKey := ed25519.PrivateKey(cfg.PrivateKey)
|
||||
publicKey := privateKey.Public().(ed25519.PublicKey)
|
||||
publicKey := ed25519.PublicKey(cfg.PublicKey)
|
||||
|
||||
switch {
|
||||
case *getaddr:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue