Skip to content

Commit

Permalink
update comments (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Jun 14, 2023
1 parent e0d6a54 commit f00e000
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions keeper/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
)

// GetParams gets the parameters for the marketplace module.
// GetParams gets the parameters for the onft module.
func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) {
k.paramSpace.GetParamSet(ctx, &params)
return params
}

// SetParams sets the parameters for the marketplace module.
// SetParams sets the parameters for the onft module.
func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
k.paramSpace.SetParamSet(ctx, &params)
}
Expand Down
4 changes: 2 additions & 2 deletions types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewONFTParams(denomCreationFee sdk.Coin) Params {
}
}

// DefaultParams returns default marketplace parameters
// DefaultParams returns default onft parameters
func DefaultParams() Params {
return NewONFTParams(
DefaultDenomCreationFee,
Expand All @@ -44,7 +44,7 @@ func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs {
}
}

// ValidateBasic performs basic validation on marketplace parameters.
// ValidateBasic performs basic validation on onft parameters.
func (p Params) ValidateBasic() error {
if err := validateDenomCreationFee(p.DenomCreationFee); err != nil {
return err
Expand Down

0 comments on commit f00e000

Please sign in to comment.