This commit is contained in:
Kegan Dougal 2023-05-05 10:00:10 +01:00
parent e359a0b36a
commit 3543517f24

View file

@ -147,7 +147,8 @@ func main() {
if err != nil { if err != nil {
panic(err) 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 { if err != nil {
panic(err) panic(err)
} }