mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-07-09 15:29:34 +00:00
chore(indexer): fix doc comment and log
This commit is contained in:
parent
08609c3623
commit
0532760f8a
@ -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) => {
|
||||
|
||||
@ -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");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user