From 9301487351032a463a4496eb0173c0cc605309f2 Mon Sep 17 00:00:00 2001 From: Bipul Prasad Date: Fri, 1 Oct 2021 16:52:55 +0530 Subject: [PATCH] Rectifying empty params issue with auction module (#6) Co-authored-by: bipulprasad --- x/auction/types/params.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/auction/types/params.go b/x/auction/types/params.go index 74bef07c..11fe66cd 100644 --- a/x/auction/types/params.go +++ b/x/auction/types/params.go @@ -30,7 +30,7 @@ var ( ParamStoreKeyMinimumBid = []byte("MinimumBid") ) -var _ types.ParamSet = Params{} +var _ types.ParamSet = &Params{} func NewParams() Params { return DefaultParams() @@ -42,7 +42,7 @@ func ParamKeyTable() types.KeyTable { } // ParamSetPairs - implements params.ParamSet -func (p Params) ParamSetPairs() types.ParamSetPairs { +func (p *Params) ParamSetPairs() types.ParamSetPairs { return types.ParamSetPairs{ types.NewParamSetPair(ParamStoreKeyCommitsDuration, &p.CommitsDuration, validateCommitsDuration), types.NewParamSetPair(ParamStoreKeyRevealsDuration, &p.RevealsDuration, validateRevealsDuration),