diff options
author | uvok | 2025-04-18 12:03:05 +0200 |
---|---|---|
committer | uvok | 2025-04-18 12:03:05 +0200 |
commit | 00965b3980a366356c3993094fb9be86481819e8 (patch) | |
tree | 865443e7ae504d4c8eed1c2ac64b73f157bd8c21 /ledger_process.py | |
parent | 7502eb7ce85593dd66db524f4583f5b173501bf6 (diff) |
Add assert (dupe, but anyway)
Diffstat (limited to 'ledger_process.py')
-rw-r--r-- | ledger_process.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ledger_process.py b/ledger_process.py index d5592a2..1c9d5f7 100644 --- a/ledger_process.py +++ b/ledger_process.py @@ -37,6 +37,7 @@ class LedgerProcess: # Group trades by refid if action.type == "trade": + assert len(actions) == 2 self._process_trade(refid, actions) elif action.type == "deposit" and action.asset != "EUR": |