Interface conversion

This commit is contained in:
Neil Alexander 2022-10-06 11:22:08 +01:00
parent 2c0284fff5
commit 3faa749159
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -251,7 +251,7 @@ func loadConfig(
key.KeyID = keyID key.KeyID = keyID
key.PrivateKey = privateKey key.PrivateKey = privateKey
key.PublicKey = privateKey.Public().(gomatrixserverlib.Base64Bytes) key.PublicKey = gomatrixserverlib.Base64Bytes(privateKey.Public().(ed25519.PublicKey))
case len(key.PublicKey) == ed25519.PublicKeySize: case len(key.PublicKey) == ed25519.PublicKeySize:
continue continue