|
|
@ -172,7 +172,7 @@ AddSuggestedTokenScreen.prototype.validateInputs = function (opts) { |
|
|
|
msg += 'Address is invalid.' |
|
|
|
msg += 'Address is invalid.' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const validDecimals = decimals >= 0 && decimals < 36 |
|
|
|
const validDecimals = decimals >= 0 && decimals <= 36 |
|
|
|
if (!validDecimals) { |
|
|
|
if (!validDecimals) { |
|
|
|
msg += 'Decimals must be at least 0, and not over 36. ' |
|
|
|
msg += 'Decimals must be at least 0, and not over 36. ' |
|
|
|
} |
|
|
|
} |
|
|
|