diff options
author | Dan <danjm.com@gmail.com> | 2017-10-18 01:22:23 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-19 11:21:46 +0800 |
commit | f81226fbe9f98d5a6c408e289fa0ea61a467e7dc (patch) | |
tree | d2aba01747012ad1eb7829521647b71f88c114fe /ui/app/selectors.js | |
parent | 4f9ac1c4fe67ec4c196ce1891ecc1743552d45ce (diff) | |
download | tangerine-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.js | 5 |
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 +} |