Skip to content

Commit e8fc019

Browse files
committed
wip(fix(tests)): on bdk_esplora, bdk_electrum and bdk_bitcoind_rpc
1 parent 7decfbb commit e8fc019

File tree

6 files changed

+215
-239
lines changed

6 files changed

+215
-239
lines changed

crates/electrum/benches/test_sync.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use bdk_core::{
1010
CheckPoint,
1111
};
1212
use bdk_electrum::BdkElectrumClient;
13-
use bdk_testenv::{anyhow, bitcoincore_rpc::RpcApi, TestEnv};
13+
use bdk_testenv::{anyhow, TestEnv};
1414
use criterion::{criterion_group, criterion_main, Criterion};
1515
use electrum_client::ElectrumApi;
1616
use std::{collections::BTreeSet, time::Duration};
@@ -79,7 +79,7 @@ pub fn test_sync_performance(c: &mut Criterion) {
7979
// Setup receiver.
8080
let genesis_cp = CheckPoint::new(bdk_core::BlockId {
8181
height: 0,
82-
hash: env.bitcoind.client.get_block_hash(0).unwrap(),
82+
hash: env.bitcoind.client.get_block_hash(0).unwrap().block_hash().unwrap(),
8383
});
8484

8585
{

0 commit comments

Comments
 (0)