diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-07-05 03:52:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 03:52:14 +0800 |
commit | fd218142acb6dab0b2f921b9729f17ff90cffc2d (patch) | |
tree | 96f836c54997c0ebbce9b050ff1e526678899584 | |
parent | 68e1f22193dbba6c9ae3d6e4d22ee68244c05418 (diff) | |
parent | 6bc7647c05930b6683308ffde35afbde29cbe258 (diff) | |
download | tangerine-wallet-browser-fd218142acb6dab0b2f921b9729f17ff90cffc2d.tar tangerine-wallet-browser-fd218142acb6dab0b2f921b9729f17ff90cffc2d.tar.gz tangerine-wallet-browser-fd218142acb6dab0b2f921b9729f17ff90cffc2d.tar.bz2 tangerine-wallet-browser-fd218142acb6dab0b2f921b9729f17ff90cffc2d.tar.lz tangerine-wallet-browser-fd218142acb6dab0b2f921b9729f17ff90cffc2d.tar.xz tangerine-wallet-browser-fd218142acb6dab0b2f921b9729f17ff90cffc2d.tar.zst tangerine-wallet-browser-fd218142acb6dab0b2f921b9729f17ff90cffc2d.zip |
Merge pull request #4721 from MetaMask/i4666-gasLimit
fixes #4666 getGasLimit and getGasPrice removed and replaced
-rw-r--r-- | ui/app/components/customize-gas-modal/index.js | 7 | ||||
-rw-r--r-- | ui/app/selectors.js | 10 |
2 files changed, 5 insertions, 12 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js index cd8f76ed5..cefa428b9 100644 --- a/ui/app/components/customize-gas-modal/index.js +++ b/ui/app/components/customize-gas-modal/index.js @@ -31,8 +31,6 @@ const { } = require('../../conversion-util') const { - getGasPrice, - getGasLimit, getGasIsLoading, getForceGasMin, conversionRateSelector, @@ -44,6 +42,11 @@ const { getSendMaxModeState, } = require('../../selectors') +const { + getGasPrice, + getGasLimit, +} = require('../send_/send.selectors') + function mapStateToProps (state) { const selectedToken = getSelectedToken(state) const currentAccount = getSendFrom(state) || getCurrentAccountWithSendEtherInfo(state) diff --git a/ui/app/selectors.js b/ui/app/selectors.js index cf0affe9c..3e2253550 100644 --- a/ui/app/selectors.js +++ b/ui/app/selectors.js @@ -17,8 +17,6 @@ const selectors = { accountsWithSendEtherInfoSelector, getCurrentAccountWithSendEtherInfo, getGasIsLoading, - getGasPrice, - getGasLimit, getForceGasMin, getAddressBook, getSendFrom, @@ -122,14 +120,6 @@ function getGasIsLoading (state) { return state.appState.gasIsLoading } -function getGasPrice (state) { - return state.metamask.send.gasPrice -} - -function getGasLimit (state) { - return state.metamask.send.gasLimit -} - function getForceGasMin (state) { return state.metamask.send.forceGasMin } |