From 149bbf23017ef8cdb27828bc11d1c9f0a0cd1347 Mon Sep 17 00:00:00 2001 From: Olivier Desenfans Date: Fri, 24 Oct 2025 23:46:57 +0200 Subject: [PATCH] fix: remove hardcoded sorting of messages by tx confirmation time PR #777 enforces ordering by tx confirmation time regardless of what the user specified. This is obviously a mistake, removing it. --- src/aleph/db/accessors/messages.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/aleph/db/accessors/messages.py b/src/aleph/db/accessors/messages.py index 1bc6f37d5..8f3cce77a 100644 --- a/src/aleph/db/accessors/messages.py +++ b/src/aleph/db/accessors/messages.py @@ -165,7 +165,6 @@ def make_matching_messages_query( select_earliest_confirmation.c.height < end_block ) - sort_by = SortBy.TX_TIME if sort_by == SortBy.TX_TIME: order_by_columns = ( (