Skip to content

Commit

Permalink
Fixup test after restoring get_base_fee(ledger) in cost_of_change.
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyjon committed Dec 12, 2022
1 parent 5096892 commit 3727380
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/unit/wallet/test_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,12 @@ async def test_liquidate_at_loss(self):
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):
Expand Down

0 comments on commit 3727380

Please sign in to comment.