From 29a19bdfbc9a6757e4bea894bef16623b011035b Mon Sep 17 00:00:00 2001 From: creating2morrow Date: Sun, 4 Jun 2023 10:33:46 -0400 Subject: [PATCH] add --tx-proxy flag to mainnet args --- neveko-core/src/monero.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neveko-core/src/monero.rs b/neveko-core/src/monero.rs index bc622e0..5d3bde4 100644 --- a/neveko-core/src/monero.rs +++ b/neveko-core/src/monero.rs @@ -119,6 +119,7 @@ pub fn start_daemon() { let blockchain_dir = get_blockchain_dir(); let bin_dir = get_monero_location(); let release_env = utils::get_release_env(); + let tx_proxy = utils::get_i2p_http_proxy(); if release_env == utils::ReleaseEnvironment::Development { let args = ["--data-dir", &blockchain_dir, "--stagenet", "--detach"]; let output = Command::new(format!("{}/monerod", bin_dir)) @@ -127,7 +128,7 @@ pub fn start_daemon() { .expect("monerod failed to start"); debug!("{:?}", output.stdout); } else { - let args = ["--data-dir", &blockchain_dir, "--detach"]; + let args = ["--data-dir", &blockchain_dir, "--detach", "--tx-proxy", &tx_proxy]; let output = Command::new(format!("{}/monerod", bin_dir)) .args(args) .spawn()