diff --git a/x/auction/keeper/invariants.go b/x/auction/keeper/invariants.go index 05eee629..a3fe7dae 100644 --- a/x/auction/keeper/invariants.go +++ b/x/auction/keeper/invariants.go @@ -64,7 +64,7 @@ func ValidAuctionInvariant(k Keeper) sdk.Invariant { currentTime := ctx.BlockTime() if !currentTime.Equal(time.Time{}) { // this avoids a simulator bug where app.InitGenesis is called with blockTime=0 instead of the correct time if a.GetEndTime().Before(currentTime) { - validationErr = fmt.Errorf("endTime after current block time (%s)", currentTime) + validationErr = fmt.Errorf("endTime before current block time (%s)", currentTime) invalidAuction = a return true }