From 712101bba222e92ab50d30265727209f717dfdcd Mon Sep 17 00:00:00 2001 From: Quentin Le Sceller Date: Fri, 5 Mar 2021 13:28:47 -0500 Subject: [PATCH] replace .api_secret to .foreign_api_secret (#588) Co-authored-by: deevope <69693985+deevope@users.noreply.github.com> --- config/src/config.rs | 2 +- config/src/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/src/config.rs b/config/src/config.rs index 4a1e64e6..5673f41e 100644 --- a/config/src/config.rs +++ b/config/src/config.rs @@ -38,7 +38,7 @@ const GRIN_HOME: &str = ".grin"; /// Wallet data directory pub const GRIN_WALLET_DIR: &str = "wallet_data"; /// Node API secret -pub const API_SECRET_FILE_NAME: &str = ".api_secret"; +pub const API_SECRET_FILE_NAME: &str = ".foreign_api_secret"; /// Owner API secret pub const OWNER_API_SECRET_FILE_NAME: &str = ".owner_api_secret"; diff --git a/config/src/types.rs b/config/src/types.rs index 036134c7..4f57488a 100644 --- a/config/src/types.rs +++ b/config/src/types.rs @@ -65,7 +65,7 @@ impl Default for WalletConfig { api_listen_port: 3415, owner_api_listen_port: Some(WalletConfig::default_owner_api_listen_port()), api_secret_path: Some(".owner_api_secret".to_string()), - node_api_secret_path: Some(".api_secret".to_string()), + node_api_secret_path: Some(".foreign_api_secret".to_string()), check_node_api_http_addr: "http://127.0.0.1:3413".to_string(), owner_api_include_foreign: Some(false), data_file_dir: ".".to_string(),