summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOr Aharonee <or.aharonee@algorand.com>2022-02-10 18:19:36 +0200
committerOr Aharonee <or.aharonee@algorand.com>2022-02-10 18:19:36 +0200
commit83f96ab80e5e2a8f239b3bbd9dc0a8335100aba8 (patch)
tree38a575aa61afef4a39c97d4158713c2522ad9395
parent9cc080069bf0ce34b9e70481a04f7f38244f679f (diff)
-rw-r--r--cmd/algokey/part.go4
-rw-r--r--cmd/goal/account.go6
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