Update x/staking/keeper/keeper.go
This commit is contained in:
parent
256e5fc863
commit
9aa2088c23
|
@ -36,6 +36,7 @@ type Keeper struct {
|
|||
func NewKeeper(
|
||||
cdc codec.Marshaler, key sdk.StoreKey, bk types.BankKeeper, sk types.SupplyKeeper, ps paramtypes.Subspace,
|
||||
) Keeper {
|
||||
|
||||
if !ps.HasKeyTable() {
|
||||
ps = ps.WithKeyTable(ParamKeyTable())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue