diff --git a/x/inflation/types/inflation_calculation.go b/x/inflation/types/inflation_calculation.go index fcc6207..39d4eeb 100644 --- a/x/inflation/types/inflation_calculation.go +++ b/x/inflation/types/inflation_calculation.go @@ -22,7 +22,7 @@ import ( evmostypes "github.com/hetu-project/hetu/v1/types" ) -// CalculateEpochProvisions returns mint provision per epoch +// CalculateEpochMintProvision returns mint provision per epoch func CalculateEpochMintProvision( params Params, period uint64, diff --git a/x/vesting/client/cli/utils.go b/x/vesting/client/cli/utils.go index 70459e4..801baa1 100644 --- a/x/vesting/client/cli/utils.go +++ b/x/vesting/client/cli/utils.go @@ -36,7 +36,7 @@ type InputPeriod struct { Length int64 `json:"length_seconds"` } -// readScheduleFile reads the file at path and unmarshals it to get the schedule. +// ReadScheduleFile reads the file at path and unmarshals it to get the schedule. // Returns start time, periods, and error. func ReadScheduleFile(path string) (int64, sdkvesting.Periods, error) { contents, err := os.ReadFile(filepath.Clean(path)) diff --git a/x/vesting/types/utils.go b/x/vesting/types/utils.go index ae02499..127b9be 100644 --- a/x/vesting/types/utils.go +++ b/x/vesting/types/utils.go @@ -24,7 +24,7 @@ func coinEq(a, b sdk.Coins) bool { return a.IsAllLTE(b) && b.IsAllLTE(a) } -// max64 returns the maximum of its inputs. +// Max64 returns the maximum of its inputs. func Max64(i, j int64) int64 { if i > j { return i