Skip to content

Commit 6345df2

Browse files
author
Ludo Galabru
committed
fix: sql request
1 parent 32d8cbc commit 6345df2

File tree

1 file changed

+1
-1
lines changed
  • components/hord-cli/src/db

1 file changed

+1
-1
lines changed

components/hord-cli/src/db/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ pub fn find_all_transfers_in_block(
559559
) -> BTreeMap<String, Vec<TransferData>> {
560560
let args: &[&dyn ToSql] = &[&block_height.to_sql().unwrap()];
561561
let mut stmt = inscriptions_db_conn
562-
.prepare("SELECT inscription_id, offset, outpoint_to_watch, tx_index FROM legacy_locations WHERE block_height = ? ORDER BY tx_index ASC")
562+
.prepare("SELECT inscription_id, offset, outpoint_to_watch, tx_index FROM locations WHERE block_height = ? ORDER BY tx_index ASC")
563563
.unwrap();
564564
let mut results: BTreeMap<String, Vec<TransferData>> = BTreeMap::new();
565565
let mut rows = stmt.query(args).unwrap();

0 commit comments

Comments
 (0)