From bd5b537cda79e3f6a932ba4f08b407af74cd1c59 Mon Sep 17 00:00:00 2001 From: deevope <69693985+deevope@users.noreply.github.com> Date: Wed, 16 Dec 2020 17:46:01 +0000 Subject: [PATCH] replace .api_secret to .foreign_api_secret (#546) --- 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 4a1e64e66..5673f41ef 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 036134c7c..4f57488af 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(),