-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch GetConfirmation()'s default to no (#4575)
client/input.GetConfirmation() returns true if and only if the user's input is confirmative. The function is used in places where fat-fingering may cause financial loss, e.g. gaiacli tx send command. Thus it seems wiser to provide a conservative default in order to protect users from accidental mistyping. Closes: #4564
- Loading branch information
Alessio Treglia
authored
Jun 18, 2019
1 parent
36142ab
commit 1fcac93
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
#4564 Allow empty answer to evaluate as 'Y' on tx submission prompt. | ||
#4564 client/input.GetConfirmation()'s default is changed to No. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters