Initialize env_logger at start of blockchain tests

This commit is contained in:
LLFourn 2021-05-21 13:21:59 +10:00
parent d2a981efee
commit ea8488b2a7
No known key found for this signature in database
GPG Key ID: A27093B54DA11F65

View File

@ -361,6 +361,8 @@ macro_rules! bdk_blockchain_tests {
}
fn init_single_sig() -> (Wallet<$blockchain, MemoryDatabase>, (String, Option<String>), TestClient) {
let _ = env_logger::try_init();
let descriptors = testutils! {
@descriptors ( "wpkh(Alice)" ) ( "wpkh(Alice)" ) ( @keys ( "Alice" => (@generate_xprv "/44'/0'/0'/0/*", "/44'/0'/0'/1/*") ) )
};