Fix unit tests

This commit is contained in:
Neil Alexander 2022-08-31 10:28:25 +01:00
parent c677ec1acb
commit 54bb7479ea
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -224,7 +224,7 @@ func loadConfig(
}
privateKeyPath := absPath(basePath, c.Global.PrivateKeyPath)
if c.Global.KeyID, c.Global.PrivateKey, err = LoadMatrixKey(privateKeyPath, os.ReadFile); err != nil {
if c.Global.KeyID, c.Global.PrivateKey, err = LoadMatrixKey(privateKeyPath, readFile); err != nil {
return nil, err
}