From b4c0259abf3f09c32833523307b2447d3886cfae Mon Sep 17 00:00:00 2001 From: esraa Date: Wed, 11 Dec 2024 12:12:55 +0200 Subject: [PATCH] Use `bitcoind.stop`.. Instead of `bitcoind.client.stop` as the former handles child processes as well as rpc client connection --- roles/tests-integration/tests/common/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/tests-integration/tests/common/mod.rs b/roles/tests-integration/tests/common/mod.rs index 782b56ad5e..5e68d66a67 100644 --- a/roles/tests-integration/tests/common/mod.rs +++ b/roles/tests-integration/tests/common/mod.rs @@ -146,7 +146,7 @@ impl TemplateProvider { } fn stop(&self) { - let _ = self.bitcoind.client.stop().unwrap(); + self.bitcoind.stop().expect("Failed to stop bitcoind"); } fn generate_blocks(&self, n: u64) {