(coin sdk.Coin)
| 1747 | } |
| 1748 | |
| 1749 | func validatePositiveCoin(coin sdk.Coin) error { |
| 1750 | if !coin.IsValid() || !coin.IsPositive() { |
| 1751 | return moduletypes.ErrInsufficientDeposit |
| 1752 | } |
| 1753 | return nil |
| 1754 | } |
| 1755 | |
| 1756 | func validateMsgTier(tier vtypes.VerificationTier) error { |
| 1757 | switch tier { |
no outgoing calls
no test coverage detected