Update x/staking/keeper/keeper.go

This commit is contained in:
Alexander Bezobchuk
2020-02-28 09:59:06 -08:00
committed by GitHub
parent 256e5fc863
commit 9aa2088c23
+1
View File
@@ -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())
}