removing phrasing on not being able to withdraw (#12306)

This commit is contained in:
james-prysm 2023-04-18 22:46:27 -05:00 committed by GitHub
parent 4c916403e9
commit a090751c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,10 +203,9 @@ func FilterExitAccountsFromUserInput(
} }
promptHeader := au.Red("===============IMPORTANT===============") promptHeader := au.Red("===============IMPORTANT===============")
promptDescription := "Withdrawing funds is not yet possible. " + promptDescription := "Please navigate to the following website and make sure you understand the current implications " +
"Please navigate to the following website and make sure you understand the current implications " +
"of a voluntary exit before making the final decision:" "of a voluntary exit before making the final decision:"
promptURL := au.Blue("https://docs.prylabs.network/docs/wallet/exiting-a-validator/#withdrawal-delay-warning") promptURL := au.Blue("https://docs.prylabs.network/docs/wallet/exiting-a-validator")
promptQuestion := "If you still want to continue with the voluntary exit, please input a phrase found at 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) promptText := fmt.Sprintf("%s\n%s\n%s\n%s", promptHeader, promptDescription, promptURL, promptQuestion)
resp, err := prompt.ValidatePrompt(r, promptText, func(input string) error { resp, err := prompt.ValidatePrompt(r, promptText, func(input string) error {