Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #71 from cowprotocol/update_latest_block_query
Browse files Browse the repository at this point in the history
[Hotfix] Update latest block query
  • Loading branch information
harisang authored Jan 26, 2024
2 parents 2070073 + e57b0c5 commit d6f34e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sql/orderbook/latest_block.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
select min(block_number) latest
from settlements
where tx_from is null;
select max(block_number) latest
from settlement_observations;

0 comments on commit d6f34e0

Please sign in to comment.