Skip to content

Commit f24e200

Browse files
authored
Merge pull request #141 from blinklabs-io/chore/quiet-golangci-lint-unused
chore: ignore unused funcs to quiet golangci-lint
2 parents 7d9e5ad + 340ec2a commit f24e200

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

env.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ func getCurrentKESPeriod(g *localstatequery.GenesisConfigResult) uint64 {
7575
}
7676

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

126+
//nolint:unused
124127
func timeUntilNextEpoch() uint64 {
125128
cfg := config.GetConfig()
126129
currentTimeSec := uint64(time.Now().Unix() - 1)

0 commit comments

Comments
 (0)