@@ -3203,7 +3203,7 @@ pub fn zip317_spend<T: ShieldedPoolTester, Dsf: DataStoreFactory>(
32033203 // Add funds to the wallet
32043204 st. add_notes ( [ Some ( Zatoshis :: const_from_u64 ( 50000 ) ) ] ) ;
32053205
3206- // Add 10 dust notes to the wallet
3206+ // Add 10 uneconomic ( dust) notes to the wallet
32073207 for _ in 1 ..=10 {
32083208 st. add_notes ( [ Some ( Zatoshis :: const_from_u64 ( 1000 ) ) ] ) ;
32093209 }
@@ -4458,8 +4458,6 @@ pub fn scan_cached_blocks_finds_received_notes<T: ShieldedPoolTester, Dsf>(
44584458 ) ;
44594459}
44604460
4461- // TODO: This test can probably be entirely removed, as the following test duplicates it entirely.
4462- // TODO(schell): ^still a valid todo?
44634461pub fn scan_cached_blocks_finds_change_notes < T : ShieldedPoolTester , Dsf > (
44644462 ds_factory : Dsf ,
44654463 cache : impl TestCache ,
@@ -4478,14 +4476,6 @@ pub fn scan_cached_blocks_finds_change_notes<T: ShieldedPoolTester, Dsf>(
44784476 // Create a fake CompactBlock sending value to the address
44794477 let value = Zatoshis :: const_from_u64 ( 50000 ) ;
44804478 let ( _, _, nf) = st. add_a_single_note ( value) ;
4481- // let (received_height, _, nf) =
4482- // st.generate_next_block(&dfvk, AddressType::DefaultExternal, value);
4483-
4484- // // Scan the cache
4485- // st.scan_cached_blocks(received_height, 1);
4486-
4487- // // Account balance should reflect the received note
4488- // assert_eq!(st.get_total_balance(account.id()), value);
44894479
44904480 // Create a second fake CompactBlock spending value from the address
44914481 let not_our_key = T :: sk_to_fvk ( & T :: sk ( & [ 0xf5 ; 32 ] ) ) ;
0 commit comments