File tree 2 files changed +14
-9
lines changed
components/chainhook-sdk/src
2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -938,14 +938,6 @@ pub fn retrieve_satoshi_point_using_lazy_storage(
938
938
> ,
939
939
ctx : & Context ,
940
940
) -> Result < TraversalResult , String > {
941
- ctx. try_log ( |logger| {
942
- slog:: info!(
943
- logger,
944
- "Computing ordinal number for Satoshi point {}:0:0 (block #{})" ,
945
- transaction_identifier. hash,
946
- block_identifier. index
947
- )
948
- } ) ;
949
941
let mut inscription_offset_intra_output = 0 ;
950
942
let mut inscription_output_index: usize = 0 ;
951
943
let mut ordinal_offset = 0 ;
@@ -984,6 +976,17 @@ pub fn retrieve_satoshi_point_using_lazy_storage(
984
976
inscription_offset_intra_output = inscription_offset_cross_outputs - min;
985
977
}
986
978
}
979
+ ctx. try_log ( |logger| {
980
+ slog:: info!(
981
+ logger,
982
+ "Computing ordinal number for Satoshi point {} ({}:0 -> {}:{}) (block #{})" ,
983
+ transaction_identifier. hash,
984
+ input_index,
985
+ inscription_output_index,
986
+ inscription_offset_intra_output,
987
+ block_identifier. index
988
+ )
989
+ } ) ;
987
990
988
991
let mut tx_cursor: ( [ u8 ; 8 ] , usize ) = ( txid, input_index) ;
989
992
let mut hops: u32 = 0 ;
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ pub fn generate_test_bitcoin_block(
43
43
parent_block_identifier,
44
44
timestamp : 0 ,
45
45
transactions,
46
- metadata : BitcoinBlockMetadata { } ,
46
+ metadata : BitcoinBlockMetadata {
47
+ network : chainhook_types:: BitcoinNetwork :: Regtest ,
48
+ } ,
47
49
}
48
50
}
49
51
You can’t perform that action at this time.
0 commit comments