diff --git a/bp-wallet b/bp-wallet index 429c853..d861cab 160000 --- a/bp-wallet +++ b/bp-wallet @@ -1 +1 @@ -Subproject commit 429c853ad424d0d4e08b6b496b35fe8a4b64a321 +Subproject commit d861cabf1392c797dec1ae5fdd260cc50d68477e diff --git a/tests/transfers.rs b/tests/transfers.rs index 237b798..adffca0 100644 --- a/tests/transfers.rs +++ b/tests/transfers.rs @@ -1939,9 +1939,7 @@ fn reorg_revert_multiple(#[case] history_type: HistoryType) { #[cfg(not(feature = "altered"))] #[rstest] -#[ignore = "fix needed"] #[case(false)] -#[ignore = "fix needed"] #[case(true)] #[serial] fn revert_genesis(#[case] with_transfers: bool) { @@ -1993,7 +1991,6 @@ fn revert_genesis(#[case] with_transfers: bool) { wlt.switch_to_instance(INSTANCE_3); assert_eq!(wlt.get_witness_ord(&utxo.txid), WitnessOrd::Archived); - // this should remove the utxo that is now archived but it doesn't wlt.sync(); let utxos = wlt.utxos(); assert!(utxos.is_empty()); diff --git a/tests/utils/helpers.rs b/tests/utils/helpers.rs index daff6b1..9ea4ff2 100644 --- a/tests/utils/helpers.rs +++ b/tests/utils/helpers.rs @@ -774,7 +774,7 @@ impl TestWallet { let indexer = self.get_indexer(); self.wallet .wallet_mut() - .update(&indexer) + .sync_from_scratch(&indexer) .into_result() .unwrap(); }