File tree 1 file changed +3
-2
lines changed
components/chainhook-sdk/src/hord/db
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -979,11 +979,12 @@ pub fn retrieve_satoshi_point_using_lazy_storage(
979
979
ctx. try_log ( |logger| {
980
980
slog:: info!(
981
981
logger,
982
- "Computing ordinal number for Satoshi point {} ({}:0 -> {}:{}) (block #{})" ,
982
+ "Computing ordinal number for Satoshi point {} ({}:0 -> {}:{}/{} ) (block #{})" ,
983
983
transaction_identifier. hash,
984
984
input_index,
985
985
inscription_output_index,
986
986
inscription_offset_intra_output,
987
+ inscription_offset_cross_outputs,
987
988
block_identifier. index
988
989
)
989
990
} ) ;
@@ -1158,7 +1159,7 @@ pub fn retrieve_satoshi_point_using_lazy_storage(
1158
1159
1159
1160
let height = Height ( ordinal_block_number. into ( ) ) ;
1160
1161
let ordinal_number =
1161
- height. starting_sat ( ) . 0 + ordinal_offset + inscription_offset_cross_outputs ;
1162
+ height. starting_sat ( ) . 0 + ordinal_offset + inscription_offset_intra_output ;
1162
1163
1163
1164
Ok ( TraversalResult {
1164
1165
inscription_number,
You can’t perform that action at this time.
0 commit comments