From f00e0008cfdc0d22d6338c2cc7bc6a074b7837a3 Mon Sep 17 00:00:00 2001 From: Marri Harish Date: Thu, 15 Jun 2023 01:36:30 +0530 Subject: [PATCH] update comments (#27) --- keeper/params.go | 4 ++-- types/params.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/keeper/params.go b/keeper/params.go index 3fc8806..f0e4e05 100644 --- a/keeper/params.go +++ b/keeper/params.go @@ -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, ¶ms) 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, ¶ms) } diff --git a/types/params.go b/types/params.go index 976c4a3..4b55f25 100644 --- a/types/params.go +++ b/types/params.go @@ -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, @@ -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