summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test_ledger_process.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test_ledger_process.py b/test_ledger_process.py
index 0dc58b8..274060f 100644
--- a/test_ledger_process.py
+++ b/test_ledger_process.py
@@ -89,8 +89,9 @@ class TestLedgerProcess(unittest.TestCase):
withdrawal = LedgerAction(
type="withdrawal",
asset="BTC",
- amount=Decimal("-0.099"),
- fee=Decimal("0.00"),
+ # already includes removed fee
+ amount=Decimal("-0.098"),
+ fee=Decimal("0.001"),
timestamp="2025-04-17 12:00:00",
refid="67890",
)
@@ -103,7 +104,7 @@ class TestLedgerProcess(unittest.TestCase):
)
self.assertEqual(len(self.lp.external_wallet["BTC"]), 1)
self.assertEqual(
- self.lp.external_wallet["BTC"].get_remaining_amount(), Decimal("0.099")
+ self.lp.external_wallet["BTC"].get_remaining_amount(), Decimal("0.098")
)
if __name__ == "__main__":