Skip to content

Commit

Permalink
fileInfo declared and not used
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderhollaar committed Dec 4, 2023
1 parent d5a2f5e commit 808d59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ func loadXMSSMTKey() {
}

func loadEd25519Key() {
fileInfo, err := os.Stat(conf.Ed25519KeyPath)
_, err := os.Stat(conf.Ed25519KeyPath)
if os.IsNotExist(err) {
log.Printf("%s does not exist. Generating key ...", conf.Ed25519KeyPath)
ed25519Pk, ed25519Sk, err = ed25519.GenerateKey(nil)
Expand Down

0 comments on commit 808d59a

Please sign in to comment.