Re-add PublicKey to configuration file

This commit is contained in:
Neil Alexander 2023-11-03 22:35:52 +00:00
parent e5e8c84d7c
commit af15f8adf3
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 17 additions and 7 deletions

View file

@ -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: