Small cleanup

This commit is contained in:
Gabe Kangas
2022-01-12 15:16:24 -08:00
parent 36f8a54c91
commit 24a57f9076
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ func Start(datastore *data.Datastore) {
inbox.InitInboxWorkerPool()
StartRouter()
// Test
// Generate the keys for signing federated activity if needed.
if data.GetPrivateKey() == "" {
privateKey, publicKey, err := crypto.GenerateKeys()
_ = data.SetPrivateKey(string(privateKey))