mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Merge pull request #4721 from MetaMask/i4666-gasLimit
fixes #4666 getGasLimit and getGasPrice removed and replaced
This commit is contained in:
commit
fd218142ac
@ -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)
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user