You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pkg/operator/config/create.go
+11-3
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,10 @@ func promptOperatorInfo(config *types.OperatorConfig, p utils.Prompter) (types.O
159
159
config.EthRPCUrl=rpcUrl
160
160
161
161
// Prompt for allocation delay
162
-
allocationDelay, err:=p.InputInteger("Enter your allocation delay (in seconds, default is 17.5 days):", "1512000", "",
162
+
allocationDelay, err:=p.InputInteger(
163
+
"Enter your allocation delay (in seconds, default is 17.5 days):",
164
+
"1512000",
165
+
"",
163
166
func(iint64) error {
164
167
ifi<0 {
165
168
returnerrors.New("allocation delay should be non-negative")
@@ -172,13 +175,18 @@ func promptOperatorInfo(config *types.OperatorConfig, p utils.Prompter) (types.O
172
175
}
173
176
174
177
// confirm again
175
-
confirm, err:=p.Confirm("Are you sure you want to set the allocation delay to "+strconv.FormatInt(allocationDelay, 10) +" seconds? This cannot be changed once set.")
178
+
confirm, err:=p.Confirm(
179
+
"Are you sure you want to set the allocation delay to "+strconv.FormatInt(
0 commit comments