Skip to content

Commit badc47d

Browse files
authored
fix(staking): correct default values (#31)
* fix(staking): correct default values * fix(staking): correct default values * fix(staking): correct default values
1 parent bf84b22 commit badc47d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

x/staking/types/params.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ var DefaultMinDelegation = math.NewInt(1)
4444
var DefaultPeriods = []Period{
4545
{
4646
PeriodType: 0,
47-
Duration: time.Duration(0),
47+
Duration: time.Duration(0), // flexible
4848
RewardsMultiplier: math.LegacyOneDec(), // 1
4949
},
5050
{
5151
PeriodType: 1,
52-
Duration: time.Hour * 24 * 30, // 3 months
52+
Duration: time.Hour * 24 * 90, // 90 days
5353
RewardsMultiplier: math.LegacyNewDecWithPrec(1051, 3), // 1.051
5454
},
5555
{
5656
PeriodType: 2,
57-
Duration: time.Hour * 24 * 365, // 1 year
57+
Duration: time.Hour * 24 * 360, // 360 days
5858
RewardsMultiplier: math.LegacyNewDecWithPrec(116, 2), // 1.16
5959
},
6060
{
6161
PeriodType: 3,
62-
Duration: time.Hour * 24 * 30 * 18, // 18 months
62+
Duration: time.Hour * 24 * 540, // 540 days
6363
RewardsMultiplier: math.LegacyNewDecWithPrec(134, 2), // 1.34
6464
},
6565
}

0 commit comments

Comments
 (0)