diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-03-08 08:47:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-08 08:47:13 +0800 |
commit | f4e5dd37b172e954e40cd4683a92544393cb2983 (patch) | |
tree | 7c49fb2ec95befcec0c7254ce501f209ef6f1f73 /ui | |
parent | ca047b1ea0bd6778fc3b0c05b86ff23d0964f98d (diff) | |
parent | 59007a6c36055f9197ad83ccb1741fa186b85f53 (diff) | |
download | tangerine-wallet-browser-f4e5dd37b172e954e40cd4683a92544393cb2983.tar tangerine-wallet-browser-f4e5dd37b172e954e40cd4683a92544393cb2983.tar.gz tangerine-wallet-browser-f4e5dd37b172e954e40cd4683a92544393cb2983.tar.bz2 tangerine-wallet-browser-f4e5dd37b172e954e40cd4683a92544393cb2983.tar.lz tangerine-wallet-browser-f4e5dd37b172e954e40cd4683a92544393cb2983.tar.xz 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.js | 7 |
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)) + } + }) + } }) } |