This commit is contained in:
Kegan Dougal 2023-05-05 10:00:10 +01:00
parent e359a0b36a
commit 3543517f24
1 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,8 @@ func main() {
if err != nil {
panic(err)
}
signedBytes, err := gomatrixserverlib.SignJSON(string(a.Origin), a.MatrixKeyID, a.MatrixKey, serverKeyBytes)
var signedBytes []byte
signedBytes, err = gomatrixserverlib.SignJSON(string(a.Origin), a.MatrixKeyID, a.MatrixKey, serverKeyBytes)
if err != nil {
panic(err)
}