Skip to content

Commit

Permalink
Fixed defaultKeystorePath for Charon key imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sugh01 committed Aug 5, 2024
1 parent b653d57 commit df42cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/actions/importKeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (s *sedgeActions) ImportValidatorKeys(options ImportValidatorKeysOptions) e
}
charonPath := filepath.Join(cwd, ".charon")
charonValidatorKeysPath := filepath.Join(charonPath, "validator_keys")
defaultKeystorePath := configs.DefaultAbsSedgeDataPath
defaultKeystorePath := filepath.Join(configs.DefaultAbsSedgeDataPath, "keystore")
log.Infof("Copying the keys to the default path %s", defaultKeystorePath)
if err := os.MkdirAll(defaultKeystorePath, os.ModePerm); err != nil {
return err
Expand Down

0 comments on commit df42cd5

Please sign in to comment.