mirror of
https://github.com/mimblewimble/grin-wallet.git
synced 2025-02-01 08:51:09 +03:00
replace .api_secret to .foreign_api_secret (#588)
Co-authored-by: deevope <69693985+deevope@users.noreply.github.com>
This commit is contained in:
parent
b3d4d038a5
commit
712101bba2
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ const GRIN_HOME: &str = ".grin";
|
||||||
/// Wallet data directory
|
/// Wallet data directory
|
||||||
pub const GRIN_WALLET_DIR: &str = "wallet_data";
|
pub const GRIN_WALLET_DIR: &str = "wallet_data";
|
||||||
/// Node API secret
|
/// 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
|
/// Owner API secret
|
||||||
pub const OWNER_API_SECRET_FILE_NAME: &str = ".owner_api_secret";
|
pub const OWNER_API_SECRET_FILE_NAME: &str = ".owner_api_secret";
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ impl Default for WalletConfig {
|
||||||
api_listen_port: 3415,
|
api_listen_port: 3415,
|
||||||
owner_api_listen_port: Some(WalletConfig::default_owner_api_listen_port()),
|
owner_api_listen_port: Some(WalletConfig::default_owner_api_listen_port()),
|
||||||
api_secret_path: Some(".owner_api_secret".to_string()),
|
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(),
|
check_node_api_http_addr: "http://127.0.0.1:3413".to_string(),
|
||||||
owner_api_include_foreign: Some(false),
|
owner_api_include_foreign: Some(false),
|
||||||
data_file_dir: ".".to_string(),
|
data_file_dir: ".".to_string(),
|
||||||
|
|
Loading…
Reference in a new issue