Skip to content

Commit

Permalink
possible fix for missing address txs
Browse files Browse the repository at this point in the history
  • Loading branch information
myrho committed Feb 21, 2024
1 parent 26bbcbd commit 7d77beb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gsrest/db/cassandra.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ def merge_address_txs_subquery_results(
if border_tx_id is None:
border_tx_id = results[-1][tx_id_keys]
continue
border_tx_id = min(border_tx_id, results[-1][tx_id_keys])
order = min if ascending else max
border_tx_id = order(border_tx_id, results[-1][tx_id_keys])

# cut result_sets so that we only have the overlapping rows below/above
# the border_tx_id
Expand Down

0 comments on commit 7d77beb

Please sign in to comment.