diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-03-30 01:53:43 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-03-30 01:53:43 +0800 |
commit | 84b3415b4479eb849b69d77a7e178c67fcaaf3fb (patch) | |
tree | cb6b0d50c9fd4f24283edffe6ba05c93dadef113 /app/scripts | |
parent | a20a237282c38da86b03625d08b48c2e58e83523 (diff) | |
download | tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.gz tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.bz2 tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.lz tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.xz tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.tar.zst tangerine-wallet-browser-84b3415b4479eb849b69d77a7e178c67fcaaf3fb.zip |
WIP: lost enital call from dapp to getAccounts
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/controllers/preferences.js | 1 | ||||
-rw-r--r-- | app/scripts/metamask-controller.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js index c7f675a41..dbd5aeaaa 100644 --- a/app/scripts/controllers/preferences.js +++ b/app/scripts/controllers/preferences.js @@ -24,6 +24,7 @@ class PreferencesController { } getSelectedAddress (_address) { + console.log('PREFERNCES: getSelectedAddress was called') return this.store.getState().selectedAddress } diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 0393caeab..db80d5f1b 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -165,6 +165,7 @@ module.exports = class MetamaskController extends EventEmitter { rpcUrl: this.configManager.getCurrentRpcAddress(), // account mgmt getAccounts: (cb) => { + console.log('METAMASK CONTROLLER: getAccounts was called') let selectedAddress = this.preferencesController.getSelectedAddress() let result = selectedAddress ? [selectedAddress] : [] cb(null, result) |