chore: change id to use uint64 in AccountAddressByID (#13411)
This commit is contained in:
@@ -139,9 +139,9 @@ func GetAccountAddressByIDCmd() *cobra.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
id, err := strconv.ParseInt(args[0], 10, 64)
|
||||
id, err := strconv.ParseUint(args[0], 10, 64)
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("id %s not a valid uint, please input a valid account-id", args[0])
|
||||
}
|
||||
|
||||
queryClient := types.NewQueryClient(clientCtx)
|
||||
|
||||
Reference in New Issue
Block a user