Skip to content

Commit

Permalink
Merge branch 'develop' into fix/campaign-summary
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis authored Apr 27, 2022
2 parents 733d1b8 + 3c2c2cc commit 8c68780
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions x/participation/keeper/registration_period.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,5 @@ func (k Keeper) IsRegistrationEnabled(ctx sdk.Context, auctionStartTime time.Tim
}
// as commented in `Time.Sub()`: To compute t-d for a duration d, use t.Add(-d).
registrationStart := auctionStartTime.Add(-registrationPeriod)
if !blockTime.After(registrationStart) {
return false
}
return true
return blockTime.After(registrationStart)
}

0 comments on commit 8c68780

Please sign in to comment.