Make check_api_secret_file fn private (#1792)

This commit is contained in:
RJ Rybarczyk 2018-10-19 03:12:34 -07:00 committed by Gary Yu
parent 422b98030f
commit f2949efbfd
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ fn check_api_secret(api_secret_path: &PathBuf) -> Result<(), ConfigError> {
}
/// Check that the api secret file exists and is valid
pub fn check_api_secret_file() -> Result<(), ConfigError> {
fn check_api_secret_file() -> Result<(), ConfigError> {
let grin_path = get_grin_path()?;
let mut api_secret_path = grin_path.clone();
api_secret_path.push(API_SECRET_FILE_NAME);

View file

@ -35,5 +35,5 @@ mod comments;
pub mod config;
pub mod types;
pub use config::{check_api_secret_file, initial_setup_server, initial_setup_wallet};
pub use config::{initial_setup_server, initial_setup_wallet};
pub use types::{ConfigError, ConfigMembers, GlobalConfig, GlobalWalletConfig};