Skip to content

Commit

Permalink
fix: typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDaisy committed Feb 8, 2024
1 parent 34e2c3a commit 7a52928
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion x/delayedack/ibc_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type IBCMiddleware struct {
keeper keeper.Keeper
}

// NewIBCMiddleware creates a new IBCMiddlware given the keeper and underlying application
// NewIBCMiddleware creates a new IBCMiddleware given the keeper and underlying application
func NewIBCMiddleware(app porttypes.IBCModule, keeper keeper.Keeper) IBCMiddleware {
return IBCMiddleware{
app: app,
Expand Down
2 changes: 1 addition & 1 deletion x/denommetadata/ibc_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type IBCMiddleware struct {
bankkeeper types.BankKeeper
}

// NewIBCMiddleware creates a new IBCMiddlware given the keeper and underlying application
// NewIBCMiddleware creates a new IBCMiddleware given the keeper and underlying application
func NewIBCMiddleware(app porttypes.IBCModule, ck types.ChannelKeeper, tk transferkeeper.Keeper, rk rollappkeeper.Keeper, bk bankkeeper.Keeper) IBCMiddleware {
return IBCMiddleware{
app: app,
Expand Down
2 changes: 1 addition & 1 deletion x/rollapp/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var (
KeyDisputePeriodInBlocks = []byte("DisputePeriodInBlocks")
// default value
DefaultDisputePeriodInBlocks uint64 = 3
// MinDisputePeriodInBlocks is the minimum numner of blocks for dispute period
// MinDisputePeriodInBlocks is the minimum number of blocks for dispute period
MinDisputePeriodInBlocks uint64 = 1
)

Expand Down
2 changes: 1 addition & 1 deletion x/streamer/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (k Keeper) CreateStream(ctx sdk.Context, coins sdk.Coins, records []types.D
return 0, err
}

//TODO: it's better to check only the denoms of the requested coins. No need to itereate entire balance.
//TODO: it's better to check only the denoms of the requested coins. No need to iterate entire balance.
moduleBalance := k.bk.GetAllBalances(ctx, authtypes.NewModuleAddress(types.ModuleName))
alreadyAllocatedCoins := k.GetModuleToDistributeCoins(ctx)

Expand Down

0 comments on commit 7a52928

Please sign in to comment.