Skip to content

Commit d385df2

Browse files
author
Ludo Galabru
committed
fix: patch db call
1 parent 5b3dbfa commit d385df2

File tree

1 file changed

+2
-2
lines changed
  • components/chainhook-sdk/src/hord/db

1 file changed

+2
-2
lines changed

components/chainhook-sdk/src/hord/db/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,9 @@ pub fn find_inscription_with_id(
462462
let inscription_number: i64 = row.get(0).unwrap();
463463
let ordinal_number: u64 = row.get(1).unwrap();
464464
let inscription_offset_intra_output: u64 = row.get(3).unwrap();
465-
let outpoint_to_watch: String = row.get(4).unwrap();
465+
let _outpoint_to_watch: String = row.get(4).unwrap();
466466
let (transaction_identifier, output_index) =
467-
parse_outpoint_to_watch(&outpoint_to_watch);
467+
parse_inscription_id(&inscription_id);
468468
let (_, input_index) = parse_inscription_id(inscription_id);
469469
let traversal = TraversalResult {
470470
inscription_number,

0 commit comments

Comments
 (0)