change feature to execute sync from rpc to test-rpc

This commit is contained in:
Riccardo Casatta
2021-06-01 14:18:40 +02:00
parent 9b7ed08891
commit e1b037a921
4 changed files with 4 additions and 3 deletions

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)