Skip to content

Commit

Permalink
Temporarily revert x/slashing/params json field names to use dashes, …
Browse files Browse the repository at this point in the history
…for GoS compat (cosmos#3132)
  • Loading branch information
jaekwon authored Dec 17, 2018
1 parent 131f93b commit ac511ab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions x/slashing/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ func ParamTypeTable() params.TypeTable {

// Params - used for initializing default parameter for slashing at genesis
type Params struct {
MaxEvidenceAge time.Duration `json:"max_evidence_age"`
SignedBlocksWindow int64 `json:"signed_blocks_window"`
MinSignedPerWindow sdk.Dec `json:"min_signed_per_window"`
DoubleSignUnbondDuration time.Duration `json:"double_sign_unbond_duration"`
DowntimeUnbondDuration time.Duration `json:"downtime_unbond_duration"`
SlashFractionDoubleSign sdk.Dec `json:"slash_fraction_double_sign"`
SlashFractionDowntime sdk.Dec `json:"slash_fraction_downtime"`
MaxEvidenceAge time.Duration `json:"max-evidence-age"`
SignedBlocksWindow int64 `json:"signed-blocks-window"`
MinSignedPerWindow sdk.Dec `json:"min-signed-per-window"`
DoubleSignUnbondDuration time.Duration `json:"double-sign-unbond-duration"`
DowntimeUnbondDuration time.Duration `json:"downtime-unbond-duration"`
SlashFractionDoubleSign sdk.Dec `json:"slash-fraction-double-sign"`
SlashFractionDowntime sdk.Dec `json:"slash-fraction-downtime"`
}

// Implements params.ParamStruct
Expand Down

0 comments on commit ac511ab

Please sign in to comment.