From 5ea0417df29637eb4eec548af1284ee4b027b9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kapka?= Date: Wed, 29 Mar 2023 16:17:21 +0200 Subject: [PATCH] Improve voluntary exit confirmation prompt (#12205) --- validator/accounts/accounts_helper.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/validator/accounts/accounts_helper.go b/validator/accounts/accounts_helper.go index 6a849d1aa..c9ca8f8a0 100644 --- a/validator/accounts/accounts_helper.go +++ b/validator/accounts/accounts_helper.go @@ -207,8 +207,7 @@ func FilterExitAccountsFromUserInput( "Please navigate to the following website and make sure you understand the current implications " + "of a voluntary exit before making the final decision:" promptURL := au.Blue("https://docs.prylabs.network/docs/wallet/exiting-a-validator/#withdrawal-delay-warning") - promptQuestion := "If you still want to continue with the voluntary exit, please input a phrase found at the end " + - "of the page from the above URL" + promptQuestion := "If you still want to continue with the voluntary exit, please input a phrase found at the above URL" promptText := fmt.Sprintf("%s\n%s\n%s\n%s", promptHeader, promptDescription, promptURL, promptQuestion) resp, err := prompt.ValidatePrompt(r, promptText, func(input string) error { return prompt.ValidatePhrase(input, ExitPassphrase)