diff options
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": |