Skip to content

Commit

Permalink
fix: sql request
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Aug 3, 2023
1 parent 32d8cbc commit 6345df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/hord-cli/src/db/mod.rs
Expand Up @@ -559,7 +559,7 @@ pub fn find_all_transfers_in_block(
) -> BTreeMap<String, Vec<TransferData>> {
let args: &[&dyn ToSql] = &[&block_height.to_sql().unwrap()];
let mut stmt = inscriptions_db_conn
.prepare("SELECT inscription_id, offset, outpoint_to_watch, tx_index FROM legacy_locations WHERE block_height = ? ORDER BY tx_index ASC")
.prepare("SELECT inscription_id, offset, outpoint_to_watch, tx_index FROM locations WHERE block_height = ? ORDER BY tx_index ASC")
.unwrap();
let mut results: BTreeMap<String, Vec<TransferData>> = BTreeMap::new();
let mut rows = stmt.query(args).unwrap();
Expand Down

0 comments on commit 6345df2

Please sign in to comment.