Skip to content

Commit

Permalink
fix: build error / warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Dec 6, 2023
1 parent fa7cc42 commit 15b5d60
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Expand Up @@ -23,8 +23,8 @@ use crate::{
find_blessed_inscription_with_ordinal_number,
find_latest_cursed_inscription_number_at_block_height,
find_latest_inscription_number_at_block_height, format_satpoint_to_watch,
update_inscriptions_with_block, update_sequence_metadata_with_block,
LazyBlockTransaction, TraversalResult,
update_inscriptions_with_block, update_sequence_metadata_with_block, LazyBlockTransaction,
TraversalResult,
},
ord::height::Height,
};
Expand Down
8 changes: 7 additions & 1 deletion components/ordhook-core/src/service/observers.rs
Expand Up @@ -348,7 +348,13 @@ pub fn create_and_consolidate_chainhook_config_with_predicates(
version: observer.version,
networks,
};
info!(ctx.expect_logger(), "Observer '{}' to be caught-up (last block sent: {}, tip: {})", full_spec.name, report.last_block_height_update, chain_tip_height);
info!(
ctx.expect_logger(),
"Observer '{}' to be caught-up (last block sent: {}, tip: {})",
full_spec.name,
report.last_block_height_update,
chain_tip_height
);
full_specs.push(full_spec);
}

Expand Down
2 changes: 1 addition & 1 deletion components/ordhook-sdk-js/src/ordinals_indexer.rs
Expand Up @@ -159,7 +159,7 @@ impl OrdinalsIndexingRunloop {
match cmd {
IndexerCommand::StreamBlocks => {
// We start the service as soon as the start() method is being called.
let future = service.catch_up_with_chain_tip(false, &observer_config);
let future = service.catch_up_with_chain_tip(false);
let _ = hiro_system_kit::nestable_block_on(future).expect("unable to start indexer");
let future = service.start_event_observer(observer_sidecar);
let (command_tx, event_rx) =
Expand Down

0 comments on commit 15b5d60

Please sign in to comment.