aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/selectors.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-18 01:22:23 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-19 11:21:46 +0800
commitf81226fbe9f98d5a6c408e289fa0ea61a467e7dc (patch)
treed2aba01747012ad1eb7829521647b71f88c114fe /ui/app/selectors.js
parent4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce (diff)
downloadtangerine-wallet-browser-f81226fbe9f98d5a6c408e289fa0ea61a467e7dc.tar.gz
tangerine-wallet-browser-f81226fbe9f98d5a6c408e289fa0ea61a467e7dc.tar.zst
tangerine-wallet-browser-f81226fbe9f98d5a6c408e289fa0ea61a467e7dc.zip
Move all of send state to metamask state.
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 fffe7dd61..9d4e6eb67 100644
--- a/ui/app/selectors.js
+++ b/ui/app/selectors.js
@@ -13,6 +13,7 @@ const selectors = {
getGasPrice,
getGasLimit,
getAddressBook,
+ getSendFrom,
}
module.exports = selectors
@@ -107,3 +108,7 @@ function getGasPrice (state) {
function getGasLimit (state) {
return state.metamask.send.gasLimit
}
+
+function getSendFrom (state) {
+ return state.metamask.send.from
+}