Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: tersec <tersec@users.noreply.github.com>
  • Loading branch information
xalexec and tersec authored May 30, 2024
1 parent 757a830 commit b642db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_chain/validators/keystore_management.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ proc importKeystoresFromDir*(rng: var HmacDrbgContext, meth: ImportMethod,
try:
let importedFiles = walkDirRec(importedDir).toSeq
if importedFiles.len == 0:
fatal "No keystore file found at kyes path"
fatal "No keystore file found at keystore path"
quit 1

var
Expand Down Expand Up @@ -1905,7 +1905,7 @@ proc importKeystoresFromDir*(rng: var HmacDrbgContext, meth: ImportMethod,
if password.len == 0:
break
if not hasValid and invalidFlag:
fatal "Not found valid file,the keystore file must ending by .json and not start with deposit_data"
fatal "No valid keystore file found; the keystore file must have a .json extension and not start with deposit_data"
quit 1

except OSError:
Expand Down

0 comments on commit b642db9

Please sign in to comment.