Fixup test after restoring get_base_fee(ledger) in cost_of_change.

This commit is contained in:
Jonathan Moody 2022-12-12 12:11:02 -06:00
parent 6e76fa207f
commit bea20892f7

View file

@ -552,10 +552,12 @@ class TransactionIOBalancing(AsyncioTestCase):
1000000, 1509900, 1509800, 1509700, 1509600, 1509500, 1509400, 1509300, 1509200, 1509100,
1509000, 1508900, 1508800, 1508700, 1508600, 1508500, 1508400, 1508300, 1508200, 1508100,
1494600, 1494400, 1508000, 1507900, 1507800, 1507700, 1507600, 1507500, 1507400, 1507300,
1507200, 1507100, 1507000, 1506900, 1506800, 1506700, 1506600, 1506300, 1492700, 1492600],
1507200, 1507100, 1507000, 1506900, 1506800, 1506700, 1506600, 1506500, 1506400, 1506300,
1506200, 1505200, 1501000],
[i.amount for i in tx.inputs])
self.assertIn(tx.size, range(5920, 5970))
self.assertEqual(59760000, tx.fee)
self.assertIn(tx.size, range(6350, 6430))
self.assertEqual(64300000, tx.fee)
await self.ledger.release_outputs(utxos)
async def test_liquidate_at_loss_tiny_utxos(self):