mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
Make check_api_secret_file fn private (#1792)
This commit is contained in:
parent
422b98030f
commit
f2949efbfd
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue