diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-03-07 06:59:09 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-03-07 06:59:09 +0800 |
commit | 423f084cb47d84e2e9063a6567454f83592f424b (patch) | |
tree | bc2f3040cd76765fa27bbfc0e3913cf5e466c063 /old-ui/lib/lost-accounts-notice.js | |
parent | 8ba64c657ff801425c06db166e2c9a06289047de (diff) | |
parent | 303801d2768a264a27a51916e5debf778739ee0c (diff) | |
download | tangerine-wallet-browser-423f084cb47d84e2e9063a6567454f83592f424b.tar.gz tangerine-wallet-browser-423f084cb47d84e2e9063a6567454f83592f424b.tar.zst tangerine-wallet-browser-423f084cb47d84e2e9063a6567454f83592f424b.zip |
Merge branch 'master' into i3076-UseStorageLocalInstead
Diffstat (limited to 'old-ui/lib/lost-accounts-notice.js')
-rw-r--r-- | old-ui/lib/lost-accounts-notice.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/old-ui/lib/lost-accounts-notice.js b/old-ui/lib/lost-accounts-notice.js new file mode 100644 index 000000000..948b13db6 --- /dev/null +++ b/old-ui/lib/lost-accounts-notice.js @@ -0,0 +1,23 @@ +const summary = require('../app/util').addressSummary + +module.exports = function (lostAccounts) { + return { + date: new Date().toDateString(), + title: 'Account Problem Caught', + body: `MetaMask has fixed a bug where some accounts were previously mis-generated. This was a rare issue, but you were affected! + +We have successfully imported the accounts that were mis-generated, but they will no longer be recovered with your normal seed phrase. + +We have marked the affected accounts as "Loose", and recommend you transfer ether and tokens away from those accounts, or export & back them up elsewhere. + +Your affected accounts are: +${lostAccounts.map(acct => ` - ${summary(acct)}`).join('\n')} + +These accounts have been marked as "Loose" so they will be easy to recognize in the account list. + +For more information, please read [our blog post.][1] + +[1]: https://medium.com/metamask/metamask-3-migration-guide-914b79533cdd#.7d8ktj4h3 + `, + } +} |