Skip to content

Commit

Permalink
Merge branch 'settlement-execution-events' into settlement-executions…
Browse files Browse the repository at this point in the history
…-api
  • Loading branch information
squadgazzz authored Feb 21, 2025
2 parents 9c70cfb + c6d8c9b commit 9cfb30e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/database/src/settlement_executions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub async fn insert(
) -> Result<(), sqlx::Error> {
const QUERY: &str = r#"
INSERT INTO settlement_executions (auction_id, solver, start_timestamp, deadline_block)
VALUES ($1, $2, $3, $4, $5)
VALUES ($1, $2, $3, $4)
;"#;

sqlx::query(QUERY)
Expand All @@ -46,7 +46,7 @@ pub async fn update(
) -> Result<(), sqlx::Error> {
const QUERY: &str = r#"
UPDATE settlement_executions
SET end_timestamp = $3, outcome = $5
SET end_timestamp = $3, outcome = $4
WHERE auction_id = $1 AND solver = $2
;"#;

Expand Down

0 comments on commit 9cfb30e

Please sign in to comment.