Request not full block db raw. Move log under if.

pull/675/head
Andrey 2022-10-03 17:25:39 +03:00
rodzic cccb42156e
commit dd9b462c4e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -68,7 +68,7 @@ def get_block_timestamp(
block_model = get_block_model(blockchain_type)
blocks = (
db_session.query(block_model)
db_session.query(block_model.block_number, block_model.timestamp)
.filter(
and_(
block_model.block_number >= block_number,