Skip to content

Commit

Permalink
Use bitcoind.stop..
Browse files Browse the repository at this point in the history
Instead of `bitcoind.client.stop` as the former handles child processes
as well as rpc client connection
  • Loading branch information
jbesraa committed Dec 11, 2024
1 parent 5bcd54d commit b4c0259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/tests-integration/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b4c0259

Please sign in to comment.