Skip to content

Commit

Permalink
Custom tokens must have between 0 and 12 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
ggviana committed Dec 9, 2019
1 parent 476e422 commit 981748c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Current Develop Branch

## 7.7.1 Mon Dec 9 2019
- [#7672](https://github.com/MetaMask/metamask-extension/pull/7672): Custom tokens must have between 0 and 12 characters

## 7.7.0 Thu Nov 28 2019
- [#7004](https://github.com/MetaMask/metamask-extension/pull/7004): Connect distinct accounts per site
- [#7480](https://github.com/MetaMask/metamask-extension/pull/7480): Fixed link on root README.md
Expand Down
2 changes: 1 addition & 1 deletion ui/app/pages/add-token/add-token.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class AddToken extends Component {
const symbolLength = customSymbol.length
let customSymbolError = null

if (symbolLength <= 0 || symbolLength >= 12) {
if (symbolLength <= 0 || symbolLength > 12) {
customSymbolError = this.context.t('symbolBetweenZeroTwelve')
}

Expand Down

0 comments on commit 981748c

Please sign in to comment.