Skip to content

Commit

Permalink
Update msgs.go
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchon committed Feb 22, 2023
1 parent 4aaa1c8 commit ec9318d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/gov/types/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ func (m MsgSubmitProposal) ValidateBasic() error {
}

for _, coin := range m.InitialDeposit {
if coin.Denom != "inj" {
continue
}
minDepositAmount, ok := sdk.NewIntFromString("50000000000000000000") // 50 INJ
if !ok {
// should never happen, just defensive programming
Expand Down

0 comments on commit ec9318d

Please sign in to comment.