Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R4R: Address gov cli ux issues and add additional input validation for better errors #2938

Merged
merged 12 commits into from
Dec 3, 2018
Prev Previous commit
Next Next commit
Update x/gov/client/cli/tx.go
Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>
  • Loading branch information
cwgoes and jackzampolin authored Nov 29, 2018
commit 77776c00b07adc19fe951e989dfcf346ba016775
2 changes: 1 addition & 1 deletion x/gov/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ $ gaiacli tx gov deposit 1 10STAKE --from mykey
// validate that the proposal id is a uint
proposalID, err := strconv.ParseUint(args[0], 10, 64)
if err != nil {
return fmt.Errorf("proposal-id %s not a valid int, please input a valid proposal-id", args[0])
return fmt.Errorf("proposal-id %s not a valid uint, please input a valid proposal-id", args[0])
}

// check to see if the proposal is in the store
Expand Down