change feature to execute sync from rpc to test-rpc

This commit is contained in:
Riccardo Casatta committed 2021-06-03 10:56:01 +02:00
1 parent 9b7ed08891
commit e1b037a921
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -370,7 +370,7 @@ macro_rules! bdk_blockchain_tests {
let wallet = get_wallet_from_descriptors(&descriptors);
// rpc need to call import_multi before receiving any tx, otherwise will not see tx in the mempool
#[cfg(feature = "rpc")]
#[cfg(feature = "test-rpc")]
wallet.sync(noop_progress(), None).unwrap();
(wallet, descriptors, test_client)