From df42cd5982190f7f35b648ad77d117cda4509395 Mon Sep 17 00:00:00 2001 From: sugh01 Date: Mon, 5 Aug 2024 13:58:59 +0400 Subject: [PATCH] Fixed defaultKeystorePath for Charon key imports --- cli/actions/importKeys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/actions/importKeys.go b/cli/actions/importKeys.go index 39fad65e..db9dc04b 100644 --- a/cli/actions/importKeys.go +++ b/cli/actions/importKeys.go @@ -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