Update the pair comment
This commit is contained in:
1 parent
2e70699b79
commit
0fed0b9d74
1 file changed
+2
-2
@@ -270,8 +270,8 @@ def _sync_transfer_pair(conn, tx_id, previous, tx):
|
|||||||
tx["leg_out_ore"], tx["market_id"], now, row["id"]),
|
tx["leg_out_ore"], tx["market_id"], now, row["id"]),
|
||||||
)
|
)
|
||||||
elif group:
|
elif group:
|
||||||
# The transaction is no longer a transfer with a destination: an empty
|
# The transaction is no longer a transfer with a destination: it lost its
|
||||||
# `Til` is a withdrawal, and it leaves no pair behind (section 3.11).
|
# pair, and the pair goes with it (docs/spec.md section 7.4).
|
||||||
_drop_ledger(conn)
|
_drop_ledger(conn)
|
||||||
conn.execute(
|
conn.execute(
|
||||||
"DELETE FROM transactions WHERE type = 'transfer_in' AND transfer_group = ?",
|
"DELETE FROM transactions WHERE type = 'transfer_in' AND transfer_group = ?",
|
||||||
|
|||||||
Reference in new issue
Block a user