diff options
-rw-r--r-- | cmd/algokey/part.go | 4 | ||||
-rw-r--r-- | cmd/goal/account.go | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/cmd/algokey/part.go b/cmd/algokey/part.go index 31eb56cbf..5a29f9d71 100644 --- a/cmd/algokey/part.go +++ b/cmd/algokey/part.go @@ -76,7 +76,7 @@ var partGenerateCmd = &cobra.Command{ os.Exit(1) } - fmt.Println("Please standby while generating keys. This might take a few minutes...") + fmt.Println("Please stand by while generating keys. This might take a few minutes...") var partkey account.PersistedParticipation participationGen := func() { @@ -94,6 +94,8 @@ var partGenerateCmd = &cobra.Command{ os.Exit(1) } + fmt.Println("Participation key generation successful") + printPartkey(partkey.Participation) }, } diff --git a/cmd/goal/account.go b/cmd/goal/account.go index 3d8fc0ca1..e1243aa14 100644 --- a/cmd/goal/account.go +++ b/cmd/goal/account.go @@ -877,7 +877,7 @@ var addParticipationKeyCmd = &cobra.Command{ // Generate a participation keys database and install it client := ensureFullClient(dataDir) - reportInfof("Please standby while generating keys. This might take a few minutes...") + reportInfof("Please stand by while generating keys. This might take a few minutes...") var err error participationGen := func() { @@ -980,9 +980,9 @@ func generateAndRegisterPartKey(address string, currentRound, keyLastValidRound, if err != nil { err = fmt.Errorf(errorRequestFail, err) } - fmt.Printf(" Generated participation key for %s (Valid %d - %d)\n", address, currentRound, keyLastValidRound) + fmt.Println("Participation key generation successful") } - fmt.Println("Generated participation key please standby...") + fmt.Println("Please stand by while generating keys. This might take a few minutes...") util.RunFuncWithSpinningCursor(genFunc) if err != nil { return err |