Skip to content

Commit ea8488b

Browse files
committed
Initialize env_logger at start of blockchain tests
1 parent d2a981e commit ea8488b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/testutils/blockchain_tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ macro_rules! bdk_blockchain_tests {
361361
}
362362

363363
fn init_single_sig() -> (Wallet<$blockchain, MemoryDatabase>, (String, Option<String>), TestClient) {
364+
let _ = env_logger::try_init();
365+
364366
let descriptors = testutils! {
365367
@descriptors ( "wpkh(Alice)" ) ( "wpkh(Alice)" ) ( @keys ( "Alice" => (@generate_xprv "/44'/0'/0'/0/*", "/44'/0'/0'/1/*") ) )
366368
};

0 commit comments

Comments
 (0)