mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -06:00
Interface conversion
This commit is contained in:
parent
2c0284fff5
commit
3faa749159
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue