diff options
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index d83ecbe24..bec9a8cfb 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -760,8 +760,7 @@ function setGasTotal (gasTotal) { function getGasEstimate ({ selectedAddress, selectedToken, data }) { return (dispatch) => { - const { symbol } = selectedToken || {} - const estimateGasParams = getParamsForGasEstimate(selectedAddress, symbol, data) + const estimateGasParams = getParamsForGasEstimate(selectedAddress, selectedToken, data) return Promise.all([ dispatch(actions.getGasPrice()), dispatch(actions.estimateGas(estimateGasParams)), |