aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/selectors.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-17 23:46:36 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-19 11:21:46 +0800
commit4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce (patch)
treebaf26b8a648ec1a5ad4d12abbf2d5d8ddf5eb66f /ui/app/selectors.js
parent4915aff7505db7a1f042525a366ca0e7c6da1eed (diff)
downloadtangerine-wallet-browser-4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce.tar
tangerine-wallet-browser-4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce.tar.gz
tangerine-wallet-browser-4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce.tar.bz2
tangerine-wallet-browser-4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce.tar.lz
tangerine-wallet-browser-4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce.tar.xz
tangerine-wallet-browser-4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce.tar.zst
tangerine-wallet-browser-4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce.zip
Get from and update addressBook in send-v2
Diffstat (limited to 'ui/app/selectors.js')
-rw-r--r--ui/app/selectors.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/selectors.js b/ui/app/selectors.js
index bf3d3399e..fffe7dd61 100644
--- a/ui/app/selectors.js
+++ b/ui/app/selectors.js
@@ -12,6 +12,7 @@ const selectors = {
getCurrentAccountWithSendEtherInfo,
getGasPrice,
getGasLimit,
+ getAddressBook,
}
module.exports = selectors
@@ -59,6 +60,10 @@ function conversionRateSelector (state) {
return state.metamask.conversionRate
}
+function getAddressBook (state) {
+ return state.metamask.addressBook
+}
+
function accountsWithSendEtherInfoSelector (state) {
const {
accounts,