Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Oct 22, 2024
1 parent f6bdbde commit d8b4fcd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/database/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ pub trait DbMethods<'c>: Acquire<'c, Database = Postgres> + Sized {
let result: Vec<(Hash,)> = sqlx::query_as(
r#"
SELECT commitment FROM unprocessed_identities
LIMIT $2
LIMIT $1
"#,
)
.bind(MAX_UNPROCESSED_FETCH_COUNT)
Expand Down
6 changes: 0 additions & 6 deletions src/database/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -947,12 +947,6 @@ mod test {
let root_item_1 = db.get_root_state(&roots[1]).await?.unwrap();

assert!(root_item_0.pending_valid_as_of < root_1_inserted_at);
println!("root_1_inserted_at = {root_1_inserted_at:?}");
println!(
"root_item_1.pending_valid_as_of = {:?}",
root_item_1.pending_valid_as_of
);

assert_same_time!(root_item_1.pending_valid_as_of, root_1_inserted_at);

// Test mined roots
Expand Down

0 comments on commit d8b4fcd

Please sign in to comment.