aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-03-08 08:47:13 +0800
committerGitHub <noreply@github.com>2018-03-08 08:47:13 +0800
commitf4e5dd37b172e954e40cd4683a92544393cb2983 (patch)
tree7c49fb2ec95befcec0c7254ce501f209ef6f1f73 /ui
parentca047b1ea0bd6778fc3b0c05b86ff23d0964f98d (diff)
parent59007a6c36055f9197ad83ccb1741fa186b85f53 (diff)
downloadtangerine-wallet-browser-f4e5dd37b172e954e40cd4683a92544393cb2983.tar.gz
tangerine-wallet-browser-f4e5dd37b172e954e40cd4683a92544393cb2983.tar.zst
tangerine-wallet-browser-f4e5dd37b172e954e40cd4683a92544393cb2983.zip
Merge pull request #3409 from scsaba/seed-phrase-verification
Add seed phrase verification script into background process
Diffstat (limited to 'ui')
-rw-r--r--ui/app/actions.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 8b1480a79..3e26f333b 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -296,6 +296,13 @@ function tryUnlockMetamask (password) {
dispatch(actions.unlockSucceeded())
dispatch(actions.transitionForward())
forceUpdateMetamaskState(dispatch)
+
+ background.verifySeedPhrase((err) => {
+ if (err) {
+ dispatch(actions.displayWarning(err.message))
+ }
+ })
+
}
})
}