aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/index.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-10-29 03:10:35 +0800
committerDan Finlay <dan@danfinlay.com>2016-10-29 03:10:35 +0800
commit6ec471c6dcc52a9d2b599b849fa5017f3056fd43 (patch)
treefba209ff6234299ba31c08a2d7cead3b29f1eae1 /ui/app/accounts/index.js
parent2690d1acfd3042f468cb2cd7ccc2dccd63c20cc9 (diff)
downloadtangerine-wallet-browser-6ec471c6dcc52a9d2b599b849fa5017f3056fd43.tar.gz
tangerine-wallet-browser-6ec471c6dcc52a9d2b599b849fa5017f3056fd43.tar.zst
tangerine-wallet-browser-6ec471c6dcc52a9d2b599b849fa5017f3056fd43.zip
Configure BIP44 Keychain as default one
Diffstat (limited to 'ui/app/accounts/index.js')
-rw-r--r--ui/app/accounts/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/accounts/index.js b/ui/app/accounts/index.js
index 92054f24d..c742d9fac 100644
--- a/ui/app/accounts/index.js
+++ b/ui/app/accounts/index.js
@@ -87,7 +87,7 @@ AccountsScreen.prototype.render = function () {
h('div.footer.hover-white.pointer', {
key: 'reveal-account-bar',
onClick: () => {
- this.addNewKeyring()
+ this.addNewAccount()
},
style: {
display: 'flex',
@@ -146,8 +146,8 @@ AccountsScreen.prototype.onShowDetail = function (address, event) {
this.props.dispatch(actions.showAccountDetail(address))
}
-AccountsScreen.prototype.addNewKeyring = function () {
- this.props.dispatch(actions.addNewKeyring('Simple Key Pair'))
+AccountsScreen.prototype.addNewAccount = function () {
+ this.props.dispatch(actions.addNewAccount(0))
}
AccountsScreen.prototype.goHome = function () {