Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrembal committed Sep 5, 2024
1 parent 5803bd5 commit 107fb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/database/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ impl Database {
deposit_outpoint: OutPoint,
) -> Result<Option<Vec<UTXO>>, BridgeError> {
let qr: Vec<(sqlx::types::Json<UTXODB>,)> = 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)
Expand Down

0 comments on commit 107fb45

Please sign in to comment.