defer to specified command line mode

This commit is contained in:
John Smith 2023-12-14 21:42:58 -05:00 committed by Christien Rioux
parent caa2746110
commit eecbb14774

View File

@ -131,8 +131,8 @@ fn main() -> Result<(), String> {
} }
// Get client address // Get client address
let enable_ipc = settings.enable_ipc; let enable_ipc = settings.enable_ipc && args.address.is_none();
let mut enable_network = settings.enable_network; let mut enable_network = settings.enable_network && args.ipc_path.is_none();
// Determine IPC path to try // Determine IPC path to try
let mut client_api_ipc_path = None; let mut client_api_ipc_path = None;