aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/keyring-controller.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-22 08:21:16 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-22 08:21:16 +0800
commitf5b0795ac5582dd53de728479cf47c43eabfe67c (patch)
tree9b03db0e3a5d3dfd913abcad6cfbadaff71531d6 /app/scripts/keyring-controller.js
parent9123e70434fcd35dcb79a587e6d5c00734cb99e4 (diff)
downloadtangerine-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 'app/scripts/keyring-controller.js')
-rw-r--r--app/scripts/keyring-controller.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js
index 0d906eba1..b29150267 100644
--- a/app/scripts/keyring-controller.js
+++ b/app/scripts/keyring-controller.js
@@ -61,7 +61,6 @@ module.exports = class KeyringController extends EventEmitter {
transactions: this.configManager.getTxList(),
unconfMsgs: messageManager.unconfirmedMsgs(),
messages: messageManager.getMsgList(),
- selectedAddress: address,
selectedAccount: address,
shapeShiftTxList: this.configManager.getShapeShiftTxList(),
currentFiat: this.configManager.getCurrentFiat(),
@@ -329,7 +328,7 @@ module.exports = class KeyringController extends EventEmitter {
}, [])
}
- setSelectedAddress (address, cb) {
+ setSelectedAccount (address, cb) {
var addr = normalize(address)
this.configManager.setSelectedAccount(addr)
cb(null, addr)