Skip to content

Commit

Permalink
Rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolmin committed Aug 7, 2023
1 parent 9d172bb commit 4569843
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion common/utils/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func GetLastFile(dir string, dependency string) (string, error) {

err := command.Run()
if err != nil {
log.Errorf("❌ There was an error while executing command: %s. Error: %v", commandName, err)
log.Error("❌ No logs for specified network. Please make sure to run lukso logs command for a correct network with --[network] flag.")

return "", err
}
Expand Down
4 changes: 1 addition & 3 deletions dependencies/clients/teku.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func setupJava(isUpdate bool) (err error) {
arch = "x64"
}
if arch != "aarch64" && arch != "x64" {
log.Warnf("⚠️ x64 or aarch64 architecture is required to continue - defaulting ...")
log.Warnf("⚠️ x64 or aarch64 architecture is required to continue - skipping ...")

return
}
Expand All @@ -269,8 +269,6 @@ func setupJava(isUpdate bool) (err error) {
return err
}

log.Info("✅ JDK downloaded!\n\n")

luksoNodeDir, err := os.Getwd()
if err != nil {
return
Expand Down
4 changes: 2 additions & 2 deletions dependencies/clients/teku_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ func (t *TekuValidatorClient) Start(ctx *cli.Context, arguments []string) (err e

func (t *TekuValidatorClient) Import(ctx *cli.Context) (err error) {
walletDir := ctx.String(flags.ValidatorWalletDirFlag)
message := fmt.Sprintf("To run Teku validator LUKSO CLI needs to prepare password file for each one of your keystores. "+
"Please be aware that this process will produce a lot of unencrypted password files in %s folder.\n"+
message := fmt.Sprintf("To run a Teku validator the LUKSO CLI needs to prepare a separate password file for each of your validator key files."+
"Please be aware that this process will create a lot of unencrypted password files in %s folder.\n"+
"Do you want to continue? [y/N]\n>", walletDir)

input := utils.RegisterInputWithMessage(message)
Expand Down

0 comments on commit 4569843

Please sign in to comment.