aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-27 14:30:12 +0800
committerkumavis <aaron@kumavis.me>2017-01-27 14:30:12 +0800
commit9ab836284360607277d33513e11857d683e0708a (patch)
tree8607fc0ff80e81239618c07f10e2ce96e85b9176 /ui/app/actions.js
parentfc1b11e373851ad4ab3a3f74e7d6850aebe6ba82 (diff)
downloadtangerine-wallet-browser-9ab836284360607277d33513e11857d683e0708a.tar
tangerine-wallet-browser-9ab836284360607277d33513e11857d683e0708a.tar.gz
tangerine-wallet-browser-9ab836284360607277d33513e11857d683e0708a.tar.bz2
tangerine-wallet-browser-9ab836284360607277d33513e11857d683e0708a.tar.lz
tangerine-wallet-browser-9ab836284360607277d33513e11857d683e0708a.tar.xz
tangerine-wallet-browser-9ab836284360607277d33513e11857d683e0708a.tar.zst
tangerine-wallet-browser-9ab836284360607277d33513e11857d683e0708a.zip
metamask controller - cleanup remote api
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 78af80886..a0fed265f 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -270,10 +270,9 @@ function requestRevealSeed (password) {
function addNewKeyring (type, opts) {
return (dispatch) => {
dispatch(actions.showLoadingIndication())
- background.addNewKeyring(type, opts, (err, newState) => {
+ background.addNewKeyring(type, opts, (err) => {
dispatch(actions.hideLoadingIndication())
if (err) return dispatch(actions.displayWarning(err.message))
- dispatch(actions.updateMetamaskState(newState))
dispatch(actions.showAccountsPage())
})
}