Skip to content

Commit bea2089

Browse files
committed
Fixup test after restoring get_base_fee(ledger) in cost_of_change.
1 parent 6e76fa2 commit bea2089

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/unit/wallet/test_transaction.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,12 @@ async def test_liquidate_at_loss(self):
552552
1000000, 1509900, 1509800, 1509700, 1509600, 1509500, 1509400, 1509300, 1509200, 1509100,
553553
1509000, 1508900, 1508800, 1508700, 1508600, 1508500, 1508400, 1508300, 1508200, 1508100,
554554
1494600, 1494400, 1508000, 1507900, 1507800, 1507700, 1507600, 1507500, 1507400, 1507300,
555-
1507200, 1507100, 1507000, 1506900, 1506800, 1506700, 1506600, 1506300, 1492700, 1492600],
555+
1507200, 1507100, 1507000, 1506900, 1506800, 1506700, 1506600, 1506500, 1506400, 1506300,
556+
1506200, 1505200, 1501000],
556557
[i.amount for i in tx.inputs])
557-
self.assertIn(tx.size, range(5920, 5970))
558-
self.assertEqual(59760000, tx.fee)
558+
self.assertIn(tx.size, range(6350, 6430))
559+
self.assertEqual(64300000, tx.fee)
560+
559561
await self.ledger.release_outputs(utxos)
560562

561563
async def test_liquidate_at_loss_tiny_utxos(self):

0 commit comments

Comments
 (0)