Skip to content

Commit

Permalink
Merge PR cosmos#3957: Remove requirement that deposit period and voti…
Browse files Browse the repository at this point in the history
…ng period linked
  • Loading branch information
jackzampolin authored Mar 22, 2019
1 parent 160928b commit f9c290f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x/gov/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ func ValidateGenesis(data GenesisState) error {
veto.String())
}

if data.DepositParams.MaxDepositPeriod > data.VotingParams.VotingPeriod {
return fmt.Errorf("Governance deposit period should be less than or equal to the voting period (%ds), is %ds",
data.VotingParams.VotingPeriod, data.DepositParams.MaxDepositPeriod)
}

if !data.DepositParams.MinDeposit.IsValid() {
return fmt.Errorf("Governance deposit amount must be a valid sdk.Coins amount, is %s",
data.DepositParams.MinDeposit.String())
Expand Down

0 comments on commit f9c290f

Please sign in to comment.