Skip to content

Commit

Permalink
fix or operator
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Aug 5, 2023
1 parent 02af248 commit 5945543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/db/accessors/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def make_matching_messages_query(
)
if start_block:
select_stmt = select_stmt.where(
select_earliest_confirmation.c.height.is_(None) or select_earliest_confirmation.c.height >= start_block
select_earliest_confirmation.c.height.is_(None) | select_earliest_confirmation.c.height >= start_block
)
if end_block:
select_stmt = select_stmt.where(
Expand Down

0 comments on commit 5945543

Please sign in to comment.