diff --git a/app/inflation/mocks/keepers.go b/app/inflation/mocks/keepers.go index 95256e5357..4ac3d65b18 100644 --- a/app/inflation/mocks/keepers.go +++ b/app/inflation/mocks/keepers.go @@ -117,12 +117,11 @@ func (mr *MockUGovKeeperMockRecorder) ExportGenesis() *gomock.Call { } // GetInflationCycleEnd mocks base method. -func (m *MockUGovKeeper) GetInflationCycleEnd() (time.Time, error) { +func (m *MockUGovKeeper) GetInflationCycleEnd() time.Time { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetInflationCycleEnd") ret0, _ := ret[0].(time.Time) - ret1, _ := ret[1].(error) - return ret0, ret1 + return ret0 } // GetInflationCycleEnd indicates an expected call of GetInflationCycleEnd. diff --git a/x/ugov/keeper/keeper_interfaces.go b/x/ugov/keeper/keeper_interfaces.go index f5ee937ce8..b539933041 100644 --- a/x/ugov/keeper/keeper_interfaces.go +++ b/x/ugov/keeper/keeper_interfaces.go @@ -25,7 +25,7 @@ type IParams interface { SetInflationParams(lp ugov.InflationParams) error InflationParams() ugov.InflationParams SetInflationCycleEnd(startTime time.Time) error - GetInflationCycleEnd() (time.Time, error) + GetInflationCycleEnd() time.Time } var _ IKeeper = Keeper{}