File tree 1 file changed +6
-5
lines changed
components/chainhook-sdk/src/hord/db
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -462,10 +462,10 @@ pub fn find_inscription_with_id(
462
462
let inscription_number: i64 = row. get ( 0 ) . unwrap ( ) ;
463
463
let ordinal_number: u64 = row. get ( 1 ) . unwrap ( ) ;
464
464
let inscription_offset_intra_output: u64 = row. get ( 3 ) . unwrap ( ) ;
465
- let _outpoint_to_watch : String = row. get ( 4 ) . unwrap ( ) ;
466
- let ( transaction_identifier , output_index) =
467
- parse_inscription_id ( & inscription_id ) ;
468
- let ( _ , input_index) = parse_inscription_id ( inscription_id) ;
465
+ let outpoint_to_watch : String = row. get ( 4 ) . unwrap ( ) ;
466
+ let ( _ , output_index) =
467
+ parse_outpoint_to_watch ( & outpoint_to_watch ) ;
468
+ let ( transaction_identifier , input_index) = parse_inscription_id ( inscription_id) ;
469
469
let traversal = TraversalResult {
470
470
inscription_number,
471
471
ordinal_number,
@@ -1164,7 +1164,8 @@ pub fn retrieve_satoshi_point_using_lazy_storage(
1164
1164
}
1165
1165
1166
1166
let height = Height ( ordinal_block_number. into ( ) ) ;
1167
- let ordinal_number = height. starting_sat ( ) . 0 + ordinal_offset + inscription_offset_intra_output;
1167
+ let ordinal_number =
1168
+ height. starting_sat ( ) . 0 + ordinal_offset + inscription_offset_intra_output;
1168
1169
1169
1170
Ok ( TraversalResult {
1170
1171
inscription_number,
You can’t perform that action at this time.
0 commit comments