aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send-v2.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r--ui/app/send-v2.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js
index ef67ebf5e..16964b45d 100644
--- a/ui/app/send-v2.js
+++ b/ui/app/send-v2.js
@@ -84,7 +84,7 @@ SendTransactionScreen.prototype.updateGas = function () {
estimateGas,
selectedAddress,
data,
- updateGasTotal,
+ setGasTotal,
from,
tokenContract,
editingTransactionId,
@@ -110,7 +110,7 @@ SendTransactionScreen.prototype.updateGas = function () {
])
.then(([gasPrice, gas]) => {
const newGasTotal = getGasTotal(gas, gasPrice)
- updateGasTotal(newGasTotal)
+ setGasTotal(newGasTotal)
this.setState({ gasLoadingError: false })
})
.catch(err => {
@@ -118,7 +118,7 @@ SendTransactionScreen.prototype.updateGas = function () {
})
} else {
const newGasTotal = getGasTotal(gasLimit, gasPrice)
- updateGasTotal(newGasTotal)
+ setGasTotal(newGasTotal)
}
}