From 80f2370d68e05912211d70d71791ce6a5e5a3d13 Mon Sep 17 00:00:00 2001 From: todaymoon Date: Fri, 14 Jun 2024 04:35:22 +0900 Subject: [PATCH] chore: make function comments match function names (#1935) Signed-off-by: todaymoon --- x/auction/testutil/suite.go | 2 +- x/committee/keeper/proposal.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/auction/testutil/suite.go b/x/auction/testutil/suite.go index d4373c4d..104b0a39 100644 --- a/x/auction/testutil/suite.go +++ b/x/auction/testutil/suite.go @@ -78,7 +78,7 @@ func (suite *Suite) SetupTest(numAddrs int) { 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) { // Does not use suite.BankKeeper.MintCoins as module account would not have permission to mint err := suite.App.FundModuleAccount(suite.Ctx, moduleName, amount) diff --git a/x/committee/keeper/proposal.go b/x/committee/keeper/proposal.go index 744a2b82..f9b62e22 100644 --- a/x/committee/keeper/proposal.go +++ b/x/committee/keeper/proposal.go @@ -185,7 +185,7 @@ func (k Keeper) GetTokenCommitteeProposalResult(ctx sdk.Context, proposalID uint 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 // required for proposal to pass), and quorum (votes tallied at this percentage). func (k Keeper) TallyTokenCommitteeVotes(ctx sdk.Context, proposalID uint64,