We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a3bc42 commit a479884Copy full SHA for a479884
components/chainhook-sdk/src/hord/db/mod.rs
@@ -516,7 +516,7 @@ pub fn find_latest_inscription_transfer_data(
516
) -> Result<Option<(TransactionIdentifier, usize, u64)>, String> {
517
let args: &[&dyn ToSql] = &[&inscription_id.to_sql().unwrap()];
518
let mut stmt = inscriptions_db_conn
519
- .prepare("SELECT offset, outpoint_to_watch FROM locations WHERE inscription_id = ? ORDER BY block_height DESC, tx_index DESC LIMIT 1")
+ .prepare("SELECT outpoint_to_watch, offset FROM locations WHERE inscription_id = ? ORDER BY block_height DESC, tx_index DESC LIMIT 1")
520
.unwrap();
521
let mut rows = stmt.query(args).unwrap();
522
while let Ok(Some(row)) = rows.next() {
0 commit comments