diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-01-25 07:03:16 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-01-25 07:03:16 +0800 |
commit | 76521cf7399c1e694a7202dcb9725ed5e1e2a0d7 (patch) | |
tree | 44e28723413b0487766b643bdef984dad66984a4 /app/scripts/lib | |
parent | cd5eaa4393a122247295c7627a3fad3e678bea30 (diff) | |
download | tangerine-wallet-browser-76521cf7399c1e694a7202dcb9725ed5e1e2a0d7.tar tangerine-wallet-browser-76521cf7399c1e694a7202dcb9725ed5e1e2a0d7.tar.gz tangerine-wallet-browser-76521cf7399c1e694a7202dcb9725ed5e1e2a0d7.tar.bz2 tangerine-wallet-browser-76521cf7399c1e694a7202dcb9725ed5e1e2a0d7.tar.lz tangerine-wallet-browser-76521cf7399c1e694a7202dcb9725ed5e1e2a0d7.tar.xz tangerine-wallet-browser-76521cf7399c1e694a7202dcb9725ed5e1e2a0d7.tar.zst tangerine-wallet-browser-76521cf7399c1e694a7202dcb9725ed5e1e2a0d7.zip |
Fix retrieval of object
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/local-store.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/scripts/lib/local-store.js b/app/scripts/lib/local-store.js index 9114364b6..9e8d8db37 100644 --- a/app/scripts/lib/local-store.js +++ b/app/scripts/lib/local-store.js @@ -3,7 +3,6 @@ // https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/storage/local const extension = require('extensionizer') -const STORAGE_KEY = 'metamask-config' module.exports = class ExtensionStore { constructor() { @@ -14,7 +13,7 @@ module.exports = class ExtensionStore { } get() { return new Promise((resolve) => { - extension.storage.local.get(STORAGE_KEY, resolve) + extension.storage.local.get(null, resolve) }) } set(state) { |