Skip to content

Commit

Permalink
Merge pull request #141 from blinklabs-io/chore/quiet-golangci-lint-u…
Browse files Browse the repository at this point in the history
…nused

chore: ignore unused funcs to quiet golangci-lint
  • Loading branch information
wolf31o2 authored Feb 6, 2024
2 parents 7d9e5ad + 340ec2a commit f24e200
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions env.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ func getCurrentKESPeriod(g *localstatequery.GenesisConfigResult) uint64 {
}

// Calculate epoch from current second
//
//nolint:unused
func getEpoch() uint64 {
cfg := config.GetConfig()
currentTimeSec := uint64(time.Now().Unix() - 1)
Expand Down Expand Up @@ -121,6 +123,7 @@ func timeLeft(t uint64) string {
return fmt.Sprintf("%s%02d:%02d:%02d", result, int(h), int(m), int(s))
}

//nolint:unused
func timeUntilNextEpoch() uint64 {
cfg := config.GetConfig()
currentTimeSec := uint64(time.Now().Unix() - 1)
Expand Down

0 comments on commit f24e200

Please sign in to comment.