chore: make function comments match function names (#1935)

Signed-off-by: todaymoon <csgcgl@foxmail.com>
This commit is contained in:
todaymoon 2024-06-14 04:35:22 +09:00 committed by GitHub
parent 16233d6031
commit 80f2370d68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ func (suite *Suite) SetupTest(numAddrs int) {
suite.AccountKeeper = tApp.GetAccountKeeper() suite.AccountKeeper = tApp.GetAccountKeeper()
} }
// AddCoinsToModule adds coins to a named module account // AddCoinsToNamedModule adds coins to a named module account
func (suite *Suite) AddCoinsToNamedModule(moduleName string, amount sdk.Coins) { func (suite *Suite) AddCoinsToNamedModule(moduleName string, amount sdk.Coins) {
// Does not use suite.BankKeeper.MintCoins as module account would not have permission to mint // Does not use suite.BankKeeper.MintCoins as module account would not have permission to mint
err := suite.App.FundModuleAccount(suite.Ctx, moduleName, amount) err := suite.App.FundModuleAccount(suite.Ctx, moduleName, amount)

View File

@ -185,7 +185,7 @@ func (k Keeper) GetTokenCommitteeProposalResult(ctx sdk.Context, proposalID uint
return false return false
} }
// TallyMemberCommitteeVotes returns the polling status of a token committee vote. Returns yes votes, // TallyTokenCommitteeVotes returns the polling status of a token committee vote. Returns yes votes,
// total current votes, total possible votes (equal to token supply), vote threshold (yes vote ratio // total current votes, total possible votes (equal to token supply), vote threshold (yes vote ratio
// required for proposal to pass), and quorum (votes tallied at this percentage). // required for proposal to pass), and quorum (votes tallied at this percentage).
func (k Keeper) TallyTokenCommitteeVotes(ctx sdk.Context, proposalID uint64, func (k Keeper) TallyTokenCommitteeVotes(ctx sdk.Context, proposalID uint64,