From 3faa74915988a7b55b0f795f5a892e2809f386d4 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 6 Oct 2022 11:22:08 +0100 Subject: [PATCH] Interface conversion --- setup/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/config/config.go b/setup/config/config.go index 08e327fa5..ee295e34b 100644 --- a/setup/config/config.go +++ b/setup/config/config.go @@ -251,7 +251,7 @@ func loadConfig( key.KeyID = keyID key.PrivateKey = privateKey - key.PublicKey = privateKey.Public().(gomatrixserverlib.Base64Bytes) + key.PublicKey = gomatrixserverlib.Base64Bytes(privateKey.Public().(ed25519.PublicKey)) case len(key.PublicKey) == ed25519.PublicKeySize: continue