Skip to content

Commit 0780429

Browse files
committed
test: qualify Node import
1 parent 549079b commit 0780429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,21 +268,21 @@ mod test {
268268
#[cfg(all(feature = "blocking", feature = "async"))]
269269
use {
270270
bitcoin::{consensus, hashes::Hash, hex::FromHex, Amount},
271-
electrsd::{corepc_node::Node, electrum_client::ElectrumApi},
271+
electrsd::electrum_client::ElectrumApi,
272272
std::time::Duration,
273273
tokio::sync::OnceCell,
274274
};
275275

276276
lazy_static! {
277-
static ref BITCOIND: Node = {
277+
static ref BITCOIND: corepc_node::Node = {
278278
let bitcoind_exe = env::var("BITCOIND_EXE")
279279
.ok()
280280
.or_else(|| corepc_node::downloaded_exe_path().ok())
281281
.expect(
282282
"you need to provide an env var BITCOIND_EXE or specify a bitcoind version feature",
283283
);
284284
let conf = corepc_node::Conf::default();
285-
Node::with_conf(bitcoind_exe, &conf).unwrap()
285+
corepc_node::Node::with_conf(bitcoind_exe, &conf).unwrap()
286286
};
287287
static ref ELECTRSD: ElectrsD = {
288288
let electrs_exe = env::var("ELECTRS_EXE")

0 commit comments

Comments
 (0)