diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-12-01 06:43:18 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-12-01 06:58:40 +0800 |
commit | 549bbfd05f0507a33c9df95111a71b0097f3b355 (patch) | |
tree | 43f36421ebcdec2d3a3198d867787d507724ab87 /ui | |
parent | 5af41573638e438f4af496afe18d9a01f89c7733 (diff) | |
download | tangerine-wallet-browser-549bbfd05f0507a33c9df95111a71b0097f3b355.tar tangerine-wallet-browser-549bbfd05f0507a33c9df95111a71b0097f3b355.tar.gz tangerine-wallet-browser-549bbfd05f0507a33c9df95111a71b0097f3b355.tar.bz2 tangerine-wallet-browser-549bbfd05f0507a33c9df95111a71b0097f3b355.tar.lz tangerine-wallet-browser-549bbfd05f0507a33c9df95111a71b0097f3b355.tar.xz tangerine-wallet-browser-549bbfd05f0507a33c9df95111a71b0097f3b355.tar.zst tangerine-wallet-browser-549bbfd05f0507a33c9df95111a71b0097f3b355.zip |
Made integration test create a first vault
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/actions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 8f37b2e4c..d800091f2 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -204,10 +204,11 @@ function createNewVaultAndRestore (password, seed) { function createNewVaultAndKeychain (password) { return (dispatch) => { - background.createNewVaultAndKeychain(password, (err) => { + background.createNewVaultAndKeychain(password, (err, newState) => { if (err) { return dispatch(actions.showWarning(err.message)) } + dispatch(actions.updateMetamaskState(newState)) }) } } |