diff options
author | Frankie <frankie.diamond@gmail.com> | 2016-12-22 06:31:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 06:31:07 +0800 |
commit | 6f7c23fd28ef37ae51478b735c1f5888c97bbaf5 (patch) | |
tree | b927871ed00c33a66341a26de09f00cf006314b8 /app/scripts/lib/config-manager.js | |
parent | a85c691b71d5142d2412000930328fbe9161760a (diff) | |
parent | 73cdf0bfd49470bad1f0da4d0d894278c87af54e (diff) | |
download | tangerine-wallet-browser-6f7c23fd28ef37ae51478b735c1f5888c97bbaf5.tar.gz tangerine-wallet-browser-6f7c23fd28ef37ae51478b735c1f5888c97bbaf5.tar.zst tangerine-wallet-browser-6f7c23fd28ef37ae51478b735c1f5888c97bbaf5.zip |
Merge branch 'dev' into TxManager
Diffstat (limited to 'app/scripts/lib/config-manager.js')
-rw-r--r-- | app/scripts/lib/config-manager.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index a32842cc7..c723655fa 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -380,3 +380,14 @@ ConfigManager.prototype.setGasMultiplier = function (gasMultiplier) { data.gasMultiplier = gasMultiplier this.setData(data) } + +ConfigManager.prototype.setLostAccounts = function (lostAccounts) { + var data = this.getData() + data.lostAccounts = lostAccounts + this.setData(data) +} + +ConfigManager.prototype.getLostAccounts = function () { + var data = this.getData() + return data.lostAccounts || [] +} |