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/app/actions.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/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 51c3d6bec..b4bf2fdde 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -71,7 +71,7 @@ var actions = { TRANSACTION_ERROR: 'TRANSACTION_ERROR', NEXT_TX: 'NEXT_TX', PREVIOUS_TX: 'PREV_TX', - setSelectedAddress: setSelectedAddress, + setselectedAccount: setselectedAccount, signMsg: signMsg, cancelMsg: cancelMsg, sendTx: sendTx, @@ -259,9 +259,9 @@ function showInfoPage () { } } -function setSelectedAddress (address) { +function setselectedAccount (address) { return (dispatch) => { - background.setSelectedAddress(address) + background.setselectedAccount(address) } } @@ -455,7 +455,7 @@ function lockMetamask () { function showAccountDetail (address) { return (dispatch) => { dispatch(actions.showLoadingIndication()) - background.setSelectedAddress(address, (err, address) => { + background.setselectedAccount(address, (err, address) => { dispatch(actions.hideLoadingIndication()) if (err) { return dispatch(actions.displayWarning(err.message)) |