Skip to content

Commit

Permalink
docs: correct typos and improve code consistency across files
Browse files Browse the repository at this point in the history
- fix a comment typo in the `pallaschainobserver` implementation
  • Loading branch information
falcucci committed Mar 1, 2024
1 parent 691b337 commit 4cea399
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mithril-common/src/chain_observer/pallas_observer.rs
Expand Up @@ -241,12 +241,12 @@ impl PallasChainObserver {
///
/// The calculation formula is represented as:
///
/// `floor(P / S)`
/// `current_kes_period = ⌊current_slot_number/slots_per_kes_period⌋`
///
/// where:
/// - `P` represents the current point on the chain (slot number).
/// - `S` represents the number of slots in each KES period.
/// - `floor(.)` is the floor function which rounds down a number to the nearest whole.
/// - `current_slot_number` represents the current slot number given by the `point` on the chain.
/// - `slots_per_kes_period` represents the number of slots in a KES period.
/// - `⌊x⌋` is the floor function which rounds the greatest integer less than or equal to `x`.
///
/// ## Example:
///
Expand Down

0 comments on commit 4cea399

Please sign in to comment.