diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-08-14 15:42:23 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-08-14 15:42:23 +0800 |
commit | b77cc3d9690304362471fbfe207bdad461c2ca3a (patch) | |
tree | 7852afa9e9ca10a8420b24652be59c25d0a45e0f /ui/app/components | |
parent | 61a279204a804ddf4815d0db6103c19c5640bbb9 (diff) | |
download | tangerine-wallet-browser-b77cc3d9690304362471fbfe207bdad461c2ca3a.tar tangerine-wallet-browser-b77cc3d9690304362471fbfe207bdad461c2ca3a.tar.gz tangerine-wallet-browser-b77cc3d9690304362471fbfe207bdad461c2ca3a.tar.bz2 tangerine-wallet-browser-b77cc3d9690304362471fbfe207bdad461c2ca3a.tar.lz tangerine-wallet-browser-b77cc3d9690304362471fbfe207bdad461c2ca3a.tar.xz tangerine-wallet-browser-b77cc3d9690304362471fbfe207bdad461c2ca3a.tar.zst tangerine-wallet-browser-b77cc3d9690304362471fbfe207bdad461c2ca3a.zip |
fix tx tests
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/pages/create-account/connect-hardware/account-list.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/pages/create-account/connect-hardware/account-list.js b/ui/app/components/pages/create-account/connect-hardware/account-list.js index c8fb5030b..0acaded6b 100644 --- a/ui/app/components/pages/create-account/connect-hardware/account-list.js +++ b/ui/app/components/pages/create-account/connect-hardware/account-list.js @@ -23,7 +23,8 @@ class AccountList extends Component { } goToNextPage = () => { - if (this.props.accounts === 5) { + // If we have < 5 accounts, it's restricted by BIP-44 + if (this.props.accounts.length === 5) { this.props.getPage(this.props.device, 1, this.props.selectedPath) } else { this.props.onAccountRestriction() |