Skip to content

Commit

Permalink
fix(papyrus_p2p_sync): log with info when internal block is added (#3023
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ShahakShama authored Jan 12, 2025
1 parent b89df0e commit a4fec09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/papyrus_p2p_sync/src/client/stream_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ where
}
}
block = Self::get_internal_block_at(&mut internal_blocks_received, &mut internal_block_receiver, current_block_number) => {
debug!("Added internally {:?} for block {}.", Self::TYPE_DESCRIPTION, current_block_number);
info!("Added internally {:?} for block {}.", Self::TYPE_DESCRIPTION, current_block_number);
current_block_number = current_block_number.unchecked_next();
yield Ok(Box::<dyn BlockData>::from(Box::new(block)));
debug!("Network query ending at block {} for {:?} being ignored due to internal block", end_block_number, Self::TYPE_DESCRIPTION);
Expand Down

0 comments on commit a4fec09

Please sign in to comment.