Cli: Update OutputFormat method to return a String to restore consistency (#9904)
* Update OutputFormat method to return a String to restore consistency * Remove process_show_account special case
This commit is contained in:
@@ -410,10 +410,9 @@ pub fn process_get_validator_info(
|
||||
info: validator_info,
|
||||
});
|
||||
}
|
||||
config
|
||||
Ok(config
|
||||
.output_format
|
||||
.formatted_print(&CliValidatorInfoVec::new(validator_info_list));
|
||||
Ok("".to_string())
|
||||
.formatted_string(&CliValidatorInfoVec::new(validator_info_list)))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user