diff --git a/app.py b/app.py index a4f434b..7757b1e 100644 --- a/app.py +++ b/app.py @@ -270,8 +270,8 @@ def _sync_transfer_pair(conn, tx_id, previous, tx): tx["leg_out_ore"], tx["market_id"], now, row["id"]), ) elif group: - # The transaction is no longer a transfer with a destination: an empty - # `Til` is a withdrawal, and it leaves no pair behind (section 3.11). + # The transaction is no longer a transfer with a destination: it lost its + # pair, and the pair goes with it (docs/spec.md section 7.4). _drop_ledger(conn) conn.execute( "DELETE FROM transactions WHERE type = 'transfer_in' AND transfer_group = ?",