Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Aniket Deshpande <[email protected]>
  • Loading branch information
lehins and aniketd authored May 6, 2024
1 parent 686c8fd commit ac2b293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eras/shelley/impl/src/Cardano/Ledger/Shelley/Governance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class
-- the new PParams will be updated. Which means there will be no chance of a
-- `DefinitePParamsUpdate` value until we are past the point of no return, which is 2
-- stability windows before the end of the epoch. This lens is mostly intended for
-- ledger usage and `nextEpochUpdatedPParams` should be used instead whenver definite
-- ledger usage and `nextEpochUpdatedPParams` should be used instead whenever definite
-- results are desired.
futurePParamsGovStateL :: Lens' (GovState era) (FuturePParams era)

Expand Down Expand Up @@ -170,7 +170,7 @@ nextEpochPParams govState =

-- | This function is guaranteed to return updated PParams when it is called during the
-- last two stability windows of the epoch and there were proposals to update PParams that
-- all relevnat parties reached consensus on. In other words whenver there is a definite
-- all relevant parties reached consensus on. In other words whenever there is a definite
-- update to PParams coming on the epoch boundary those PParams will be returned,
-- otherwise it will return `Nothing`. This function is inexpensive and can be invoked at
-- any time without danger of forcing some suspended computation.
Expand Down

0 comments on commit ac2b293

Please sign in to comment.