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

Commit

Permalink
black fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Mar 11, 2024
1 parent d835ba2 commit 3542129
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fetch/orderbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ def get_latest_block(cls) -> int:
"""
data_types = {"latest": "int64"}
query_barn_prod = open_query("orderbook/latest_block.sql")
barn, prod = cls._query_both_dbs(query_barn_prod,query_barn_prod,data_types
)
barn, prod = cls._query_both_dbs(query_barn_prod, query_barn_prod, data_types)
assert len(barn) == 1 == len(prod), "Expecting single record"
return (
max(int(barn["latest"][0]), int(prod["latest"][0])) - MAX_PROCESSING_DELAY
Expand Down

0 comments on commit 3542129

Please sign in to comment.