diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-22 08:21:16 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-11-22 08:21:16 +0800 |
commit | f5b0795ac5582dd53de728479cf47c43eabfe67c (patch) | |
tree | 9b03db0e3a5d3dfd913abcad6cfbadaff71531d6 /ui/example.js | |
parent | 9123e70434fcd35dcb79a587e6d5c00734cb99e4 (diff) | |
download | tangerine-wallet-browser-f5b0795ac5582dd53de728479cf47c43eabfe67c.tar tangerine-wallet-browser-f5b0795ac5582dd53de728479cf47c43eabfe67c.tar.gz tangerine-wallet-browser-f5b0795ac5582dd53de728479cf47c43eabfe67c.tar.bz2 tangerine-wallet-browser-f5b0795ac5582dd53de728479cf47c43eabfe67c.tar.lz tangerine-wallet-browser-f5b0795ac5582dd53de728479cf47c43eabfe67c.tar.xz tangerine-wallet-browser-f5b0795ac5582dd53de728479cf47c43eabfe67c.tar.zst tangerine-wallet-browser-f5b0795ac5582dd53de728479cf47c43eabfe67c.zip |
change all instances of selectedAddress to selectedAccount.
Diffstat (limited to 'ui/example.js')
-rw-r--r-- | ui/example.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/example.js b/ui/example.js index f4126438c..a7e6b80ed 100644 --- a/ui/example.js +++ b/ui/example.js @@ -53,14 +53,14 @@ function addUnconfTx (txParams) { } var isUnlocked = false -var selectedAddress = null +var selectedAccount = null function getState () { return { isUnlocked: isUnlocked, identities: isUnlocked ? identities : {}, unconfTxs: isUnlocked ? unconfTxs : {}, - selectedAddress: selectedAddress, + selectedAccount: selectedAccount, } } @@ -85,8 +85,8 @@ accountManager.submitPassword = function (password, cb) { } } -accountManager.setSelectedAddress = function (address, cb) { - selectedAddress = address +accountManager.setselectedAccount = function (address, cb) { + selectedAccount = address cb(null, getState()) this._didUpdate() } |