Skip to content

Commit

Permalink
fix integration test error message
Browse files Browse the repository at this point in the history
  • Loading branch information
antonilol committed Oct 21, 2023
1 parent 47b73f1 commit 945c385
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration_tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn main() {

fn test_hashblock(rpc: &Client) {
let receiver = subscribe_multi(&[endpoints::HASHBLOCK, endpoints::RAWBLOCK])
.expect("failed to subscribe to Bitcoin Core's ZMQ subscriber");
.expect("failed to subscribe to Bitcoin Core's ZMQ publisher");

let rpc_hash = generate(rpc, 1).expect("rpc call failed").0[0];

Expand All @@ -35,7 +35,7 @@ fn test_hashblock(rpc: &Client) {

fn test_hashtx(rpc: &Client) {
let receiver = subscribe_multi(&[endpoints::HASHTX, endpoints::RAWTX])
.expect("failed to subscribe to Bitcoin Core's ZMQ subscriber");
.expect("failed to subscribe to Bitcoin Core's ZMQ publisher");

generate(rpc, 1).expect("rpc call failed");

Expand Down Expand Up @@ -71,7 +71,7 @@ fn test_sub_blocking(rpc: &Client) {
// Stop after 1 message
ControlFlow::Break(())
})
.expect("failed to subscribe to Bitcoin Core's ZMQ subscriber");
.expect("failed to subscribe to Bitcoin Core's ZMQ publisher");
});

sleep(1000);
Expand Down

0 comments on commit 945c385

Please sign in to comment.