chore(indexer): fix doc comment and log

This commit is contained in:
Daniil Polyakov 2026-07-07 23:03:46 +03:00
parent 08609c3623
commit 0532760f8a
2 changed files with 4 additions and 3 deletions

View File

@ -212,7 +212,8 @@ impl IndexerCore {
/// The anchor was finalized at `anchor.slot`, so the same chain must still
/// serve it there, while a reset chain re-inscribes its content only at
/// later wall-clock slots. Only positive evidence of a different chain
/// yields `Inconsistent`; absence of data stays `Inconclusive`.
/// yields [`ChainConsistency::Inconsistent`]; absence of data stays
/// [`ChainConsistency::Inconclusive`].
async fn verify_chain_at_anchor(&self, anchor: &Anchor) -> Result<ChainConsistency> {
match self.node.channel_state(self.config.channel_id).await {
Ok(state) => {

View File

@ -168,8 +168,8 @@ impl IndexerCore {
async_stream::stream! {
let mut cursor = initial_cursor;
if cursor.is_some() {
info!("Resuming indexer from cursor {cursor:?}");
if let Some(slot) = &cursor {
info!("Resuming indexer from cursor {slot:?}");
} else {
info!("Starting indexer from beginning of channel");
}