aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/inpage.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-31 07:38:32 +0800
committerkumavis <aaron@kumavis.me>2017-01-31 07:38:32 +0800
commit7ccaa263d265edc2f987dc66af0caf5fedb42296 (patch)
treec9d24506dd8977d8496bc2ca61f4294417586888 /app/scripts/inpage.js
parent2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1 (diff)
downloadtangerine-wallet-browser-7ccaa263d265edc2f987dc66af0caf5fedb42296.tar
tangerine-wallet-browser-7ccaa263d265edc2f987dc66af0caf5fedb42296.tar.gz
tangerine-wallet-browser-7ccaa263d265edc2f987dc66af0caf5fedb42296.tar.bz2
tangerine-wallet-browser-7ccaa263d265edc2f987dc66af0caf5fedb42296.tar.lz
tangerine-wallet-browser-7ccaa263d265edc2f987dc66af0caf5fedb42296.tar.xz
tangerine-wallet-browser-7ccaa263d265edc2f987dc66af0caf5fedb42296.tar.zst
tangerine-wallet-browser-7ccaa263d265edc2f987dc66af0caf5fedb42296.zip
inpage - set web3.eth.defaultAccount correctly
Diffstat (limited to 'app/scripts/inpage.js')
-rw-r--r--app/scripts/inpage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index 599604a82..419f78cd6 100644
--- a/app/scripts/inpage.js
+++ b/app/scripts/inpage.js
@@ -52,7 +52,7 @@ reloadStream.once('data', triggerReload)
// set web3 defaultAccount
inpageProvider.publicConfigStore.subscribe(function (state) {
- web3.eth.defaultAccount = state.PreferencesController.selectedAddress
+ web3.eth.defaultAccount = state.selectedAddress
})
//