Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
igamigo committed Apr 10, 2024
1 parent 9809de1 commit 9174dee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/src/db/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,15 +464,15 @@ pub fn select_notes_since_block_by_tag_and_sender(
FROM
notes
WHERE
((tag >> 16) IN rarray(?1) OR sender IN rarray(?2)) AND
((tag >> 48) IN rarray(?1) OR sender IN rarray(?2)) AND
block_num > ?3
ORDER BY
block_num ASC
LIMIT
1
) AND
-- filter the block's notes and return only the ones matching the requested tags
((tag >> 16) IN rarray(?1) OR sender IN rarray(?2));
((tag >> 48) IN rarray(?1) OR sender IN rarray(?2));
",
)?;
let mut rows = stmt.query(params![Rc::new(tags), Rc::new(account_ids), block_num])?;
Expand Down

0 comments on commit 9174dee

Please sign in to comment.