Skip to content

Commit

Permalink
chore: self-review improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed May 30, 2024
1 parent 05c4ac0 commit 5453ee2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/shared/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ func IsGracePeriodElapsed(sessionEndHeight, currentHeight int64) bool {
return currentHeight > GetSessionGracePeriodEndHeight(sessionEndHeight)
}

// GetClaimWindowOpenHeight calculates & returns the earliest block height at which
// claims can be created for the session which includes queryHeight, given the passed
// shared module parameters.
// GetClaimWindowOpenHeight returns the block height at which the claim window opens.
// This height is *inclusive*, meaning that if all other offsets were 0, this is the
// earliest height at which a claim could be committed.
func GetClaimWindowOpenHeight(sharedParams *sharedtypes.Params, queryHeight int64) int64 {
sessionEndHeight := GetSessionEndHeight(sharedParams, queryHeight)

Expand Down

0 comments on commit 5453ee2

Please sign in to comment.