We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 363a1e8 commit ce373b6Copy full SHA for ce373b6
1 file changed
x/epochs/simulation/genesis.go
@@ -14,7 +14,7 @@ import (
14
15
// GenCommunityTax randomized CommunityTax
16
func GenDuration(r *rand.Rand) time.Duration {
17
- return time.Hour * time.Duration(r.Intn(168)) // limit 1 week
+ return time.Hour * time.Duration(r.Intn(168)+1) // between 1 hour to 1 week
18
}
19
20
func RandomizedEpochs(r *rand.Rand) []types.EpochInfo {
0 commit comments