File tree 2 files changed +4
-4
lines changed
components/chainhook-event-observer/src
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ pub async fn fetch_and_cache_blocks_in_hord_db(
762
762
. expect ( "unable to spawn thread" ) ;
763
763
764
764
let mut blocks_stored = 0 ;
765
- let mut cursor = 1 + start_block as usize ;
765
+ let mut cursor = start_block as usize ;
766
766
let mut inbox = HashMap :: new ( ) ;
767
767
let mut num_writes = 0 ;
768
768
@@ -801,7 +801,7 @@ pub async fn fetch_and_cache_blocks_in_hord_db(
801
801
& ctx,
802
802
) {
803
803
ctx. try_log ( |logger| {
804
- slog:: error!( logger, "Unable to augment bitcoin block with hord_db: {e}" , )
804
+ slog:: error!( logger, "Unable to augment bitcoin block {} with hord_db: {e}" , new_block . block_identifier . index )
805
805
} ) ;
806
806
return Err ( e) ;
807
807
}
Original file line number Diff line number Diff line change @@ -699,7 +699,7 @@ pub async fn start_observer_commands_handler(
699
699
ctx. try_log ( |logger| {
700
700
slog:: error!(
701
701
logger,
702
- "Unable to augment bitcoin block with hord_db: {e}" ,
702
+ "Unable to insert bitcoin block {} in hord_db: {e}" , block . block_identifier . index
703
703
)
704
704
} ) ;
705
705
}
@@ -832,7 +832,7 @@ pub async fn start_observer_commands_handler(
832
832
ctx. try_log ( |logger| {
833
833
slog:: error!(
834
834
logger,
835
- "Unable to augment bitcoin block with hord_db: {e}" ,
835
+ "Unable to apply bitcoin block {} with hord_db: {e}" , block . block_identifier . index
836
836
)
837
837
} ) ;
838
838
}
You can’t perform that action at this time.
0 commit comments