From 107fb45f543348c6de6772c9f8533aeceafa32b5 Mon Sep 17 00:00:00 2001 From: Ekrem BAL Date: Thu, 5 Sep 2024 16:36:49 +0300 Subject: [PATCH] bug fix --- core/src/database/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/database/common.rs b/core/src/database/common.rs index e3db737f..cc0fe918 100644 --- a/core/src/database/common.rs +++ b/core/src/database/common.rs @@ -226,7 +226,7 @@ impl Database { deposit_outpoint: OutPoint, ) -> Result>, BridgeError> { let qr: Vec<(sqlx::types::Json,)> = sqlx::query_as( - "SELECT kickoff_utxo FROM deposit_kickoff_utxos WHERE deposit_outpoint = $1;", + "SELECT kickoff_utxo FROM deposit_kickoff_utxos WHERE deposit_outpoint = $1 ORDER BY id ASC;", ) .bind(OutPointDB(deposit_outpoint)) .fetch_all(&self.connection)