Skip to content

Commit

Permalink
use exe_path instead of downloaded_exe_path
Browse files Browse the repository at this point in the history
exe_path continue to look at downloaded_exe_path unless a specific env
var is specified
  • Loading branch information
RCasatta committed Aug 12, 2024
1 parent 92f0801 commit 98c2768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl TestRunner {
}

// Setup node
let node = NodeD::with_conf(noded::downloaded_exe_path().unwrap(), &node_conf).unwrap();
let node = NodeD::with_conf(noded::exe_path().unwrap(), &node_conf).unwrap();

#[cfg(not(feature = "liquid"))]
let (node_client, params) = (&node.client, &node.params);
Expand Down
3 changes: 1 addition & 2 deletions tests/electrum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ fn test_electrum() -> Result<()> {
let server_arg = format!("{}:t", electrum_addr.to_string());
electrum_wallet_conf.args = vec!["-v", "--server", &server_arg];
electrum_wallet_conf.view_stdout = true;
let electrum_wallet =
ElectrumD::with_conf(electrumd::downloaded_exe_path()?, &electrum_wallet_conf)?;
let electrum_wallet = ElectrumD::with_conf(electrumd::exe_path()?, &electrum_wallet_conf)?;

let notify_wallet = || {
electrum_server.notify();
Expand Down

0 comments on commit 98c2768

Please sign in to comment.