Skip to main content

wallet_recovery_computes_fees

Function wallet_recovery_computes_fees 

Source
pub fn wallet_recovery_computes_fees<T: ShieldedPoolTester, DsF: DataStoreFactory>(
    ds_factory: DsF,
    cache: impl TestCache,
    intervene: impl FnMut(&mut DsF::DataStore, TxId) -> Result<(), DsF::DsError>,
)
Available on crate feature transparent-inputs and (crate features test-dependencies) only.
Expand description

Ensure that wallet recovery recomputes fees.

Callers must provide an intervene function that deletes fee information for the specified txid from the database. This deletion is checked and the test will fail if fee information is not deleted.