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:
@@ -586,8 +586,7 @@ pub fn process_show_vote_account(
|
||||
use_lamports_unit,
|
||||
};
|
||||
|
||||
config.output_format.formatted_print(&vote_account_data);
|
||||
Ok("".to_string())
|
||||
Ok(config.output_format.formatted_string(&vote_account_data))
|
||||
}
|
||||
|
||||
pub fn process_withdraw_from_vote_account(
|
||||
|
Reference in New Issue
Block a user