diff --git a/app/test_common.go b/app/test_common.go index 725a245c..ca8d7d38 100644 --- a/app/test_common.go +++ b/app/test_common.go @@ -484,7 +484,7 @@ func (tApp TestApp) SetInflation(ctx sdk.Context, value sdk.Dec) { mk.SetParams(ctx, mintParams) } -// GeneratePrivKeyAddressPairsFromRand generates (deterministically) a total of n private keys and addresses. +// GeneratePrivKeyAddressPairs generates (deterministically) a total of n private keys and addresses. func GeneratePrivKeyAddressPairs(n int) (keys []cryptotypes.PrivKey, addrs []sdk.AccAddress) { r := rand.New(rand.NewSource(12345)) // make the generation deterministic keys = make([]cryptotypes.PrivKey, n) diff --git a/x/auction/keeper/keeper.go b/x/auction/keeper/keeper.go index 4b922ecc..de2744ba 100644 --- a/x/auction/keeper/keeper.go +++ b/x/auction/keeper/keeper.go @@ -172,7 +172,7 @@ func (k Keeper) removeFromByTimeIndex(ctx sdk.Context, endTime time.Time, auctio store.Delete(types.GetAuctionByTimeKey(endTime, auctionID)) } -// IterateAuctionByTime provides an iterator over auctions ordered by auction.EndTime. +// IterateAuctionsByTime provides an iterator over auctions ordered by auction.EndTime. // For each auction cb will be callled. If cb returns true the iterator will close and stop. func (k Keeper) IterateAuctionsByTime(ctx sdk.Context, inclusiveCutoffTime time.Time, cb func(auctionID uint64) (stop bool)) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.AuctionByTimeKeyPrefix)