From 3543517f2460b9c14a77bfbb3b3d3d9fc9abe287 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 5 May 2023 10:00:10 +0100 Subject: [PATCH] Linting --- cmd/furl/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/furl/main.go b/cmd/furl/main.go index 014935686..49f7eac22 100644 --- a/cmd/furl/main.go +++ b/cmd/furl/main.go @@ -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) }