Skip to content

Commit

Permalink
appease the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Nov 26, 2023
1 parent 3ba7137 commit 361d8cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/utilities/generate_signing_key/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ func main() {
switch *outputFormat {
case "synapse":
b, err = synapse.EncodeSigningKey(keyVersion, priv)
break
case "dendrite":
b, err = dendrite.EncodeSigningKey(keyVersion, priv)
break
case "mmr":
b, err = mmr.EncodeSigningKey(keyVersion, priv)
break
default:
logrus.Fatalf("Unknown output format '%s'. Try '%s -help' for information.", *outputFormat, flag.Arg(0))
}
if err != nil {
logrus.Fatal(err)
}

f, err := os.Create(*outputFile)
if err != nil {
Expand Down

0 comments on commit 361d8cd

Please sign in to comment.