Skip to content

Commit

Permalink
fix: add missing call validateBasic for proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeseung-bae committed May 3, 2024
1 parent 54cce5a commit c0950b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/fswap/types/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ func (m *MakeSwapProposal) ValidateBasic() error {
if err := m.Swap.ValidateBasic(); err != nil {
return err
}
if err := m.ToDenomMetadata.Validate(); err != nil {
return err
}
return gov.ValidateAbstract(m)
}

0 comments on commit c0950b6

Please sign in to comment.