mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-21 22:01:56 -06:00
Linting
This commit is contained in:
parent
e359a0b36a
commit
3543517f24
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue