Skip to content

Commit

Permalink
x: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: kindknow <[email protected]>
  • Loading branch information
kindknow committed Jan 5, 2025
1 parent 41ee793 commit 9d2ab7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x/emissions/types/validations.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func ValidateSdkInt(value cosmosMath.Int) error {
return nil
}

// ValidateSdkIntRepresentingMonetaryAmount checks if the given value is a valid cosmosMath.Int
// ValidateSdkIntRepresentingMonetaryValue checks if the given value is a valid cosmosMath.Int
// according to our needs / standards
func ValidateSdkIntRepresentingMonetaryValue(value cosmosMath.Int) error {
if err := ValidateSdkInt(value); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion x/mint/testutil/emissions_keeper_mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type MockEmissionsKeeperMockRecorder struct {
mock *MockEmissionsKeeper
}

// NewEmissionsEmissionsKeeper creates a new mock instance.
// NewMockEmissionsKeeper creates a new mock instance.
func NewMockEmissionsKeeper(ctrl *gomock.Controller) *MockEmissionsKeeper {
mock := &MockEmissionsKeeper{ctrl: ctrl}
mock.recorder = &MockEmissionsKeeperMockRecorder{mock}
Expand Down
2 changes: 1 addition & 1 deletion x/mint/testutil/mint_keeper_mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type MockMintKeeperMockRecorder struct {
mock *MockMintKeeper
}

// NewMintMintKeeper creates a new mock instance.
// NewMockMintKeeper creates a new mock instance.
func NewMockMintKeeper(ctrl *gomock.Controller) *MockMintKeeper {
mock := &MockMintKeeper{ctrl: ctrl}
mock.recorder = &MockMintKeeperMockRecorder{mock}
Expand Down

0 comments on commit 9d2ab7d

Please sign in to comment.