diff --git a/tests/unit/wallet/test_ledger.py b/tests/unit/wallet/test_ledger.py index c8385c837..276c5fa15 100644 --- a/tests/unit/wallet/test_ledger.py +++ b/tests/unit/wallet/test_ledger.py @@ -126,9 +126,7 @@ class TestSynchronization(LedgerTestCase): self.ledger.network.get_history_called = [] self.ledger.network.get_transaction_called = [] - self.assertFalse(self.ledger._tx_cache[txid1].tx.is_verified) - self.assertFalse(self.ledger._tx_cache[txid2].tx.is_verified) - self.assertFalse(self.ledger._tx_cache[txid3].tx.is_verified) + self.assertEqual(0, len(self.ledger._tx_cache)) await self.ledger.update_history(address, '') self.assertListEqual(self.ledger.network.get_history_called, [address]) self.assertListEqual(self.ledger.network.get_transaction_called, [])