From 4867d3af89a49c9bf2ef4c7969d5a6b6d61bfac4 Mon Sep 17 00:00:00 2001 From: Thomas Droxler Date: Wed, 13 Nov 2024 13:54:07 +0100 Subject: [PATCH] WIP --- .../explorer/persistence/queries/TransactionQueries.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/scala/org/alephium/explorer/persistence/queries/TransactionQueries.scala b/app/src/main/scala/org/alephium/explorer/persistence/queries/TransactionQueries.scala index 9cef1ff49..c56fed82a 100644 --- a/app/src/main/scala/org/alephium/explorer/persistence/queries/TransactionQueries.scala +++ b/app/src/main/scala/org/alephium/explorer/persistence/queries/TransactionQueries.scala @@ -165,7 +165,7 @@ object TransactionQueries extends StrictLogging { pagination: Pagination ): DBActionSR[TxByAddressQR] = { sql""" - SELECT #${TxByAddressQR.selectFields} + SELECT DISTINCT #${TxByAddressQR.selectFields} FROM transaction_per_addresses WHERE main_chain = true AND address = $address ORDER BY block_timestamp DESC, tx_order