chore: fix some function names (#1929)

Signed-off-by: zoupingshi <hellocatty@tom.com>
This commit is contained in:
zoupingshi 2024-05-31 22:15:15 +08:00 committed by GitHub
parent e7cc89a642
commit 8d07d9cb3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ func (p *CommunityCDPRepayDebtProposal) ValidateBasic() error {
return nil
}
// NewCommunityCDPRepayDebtProposal creates a new community pool cdp debt repay proposal.
// NewCommunityCDPWithdrawCollateralProposal creates a new community pool cdp debt repay proposal.
func NewCommunityCDPWithdrawCollateralProposal(
title string,
description string,

View File

@ -96,7 +96,7 @@ func (suite *invariantTestSuite) SetupValidState() {
suite.NoError(err)
}
// RegisterRoutes implements sdk.InvariantRegistry
// RegisterRoute implements sdk.InvariantRegistry
func (suite *invariantTestSuite) RegisterRoute(moduleName string, route string, invariant sdk.Invariant) {
_, exists := suite.invariants[moduleName]