Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/inflation/types/inflation_calculation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion x/vesting/client/cli/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion x/vesting/types/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down