Skip to content

Commit

Permalink
fix(bitcoind): test ENV var to match bitcoind crate
Browse files Browse the repository at this point in the history
  • Loading branch information
realeinherjar committed Oct 12, 2023
1 parent e4a36dd commit ffe900b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bitcoind_rpc/tests/test_emitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct TestEnv {

impl TestEnv {
fn new() -> anyhow::Result<Self> {
let daemon = match std::env::var_os("TEST_BITCOIND") {
let daemon = match std::env::var_os("BITCOIND_EXEC") {
Some(bitcoind_path) => bitcoind::BitcoinD::new(bitcoind_path),
None => bitcoind::BitcoinD::from_downloaded(),
}?;
Expand Down

0 comments on commit ffe900b

Please sign in to comment.