From ac511abc5c48b3d882a12e716646e889703fc637 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Mon, 17 Dec 2018 10:11:38 -0800 Subject: [PATCH] Temporarily revert x/slashing/params json field names to use dashes, for GoS compat (#3132) --- x/slashing/params.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/x/slashing/params.go b/x/slashing/params.go index ad12e7344..6f95ca73e 100644 --- a/x/slashing/params.go +++ b/x/slashing/params.go @@ -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