aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/customize-gas-modal/index.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-13 13:01:35 +0800
committerDan <danjm.com@gmail.com>2018-03-13 13:39:38 +0800
commitf805a2eb735ea2ae93e91df0d35c6856987fa734 (patch)
treed65280662186a2e73bbe5473b24de75107c4de53 /ui/app/components/customize-gas-modal/index.js
parentc1ff927fa0e129a828d3345b21723300d5e73ef1 (diff)
downloadtangerine-wallet-browser-f805a2eb735ea2ae93e91df0d35c6856987fa734.tar.gz
tangerine-wallet-browser-f805a2eb735ea2ae93e91df0d35c6856987fa734.tar.zst
tangerine-wallet-browser-f805a2eb735ea2ae93e91df0d35c6856987fa734.zip
Fix gas calculation and nonce / forceGasMin state setting errors; retry button shows on correct tx.
Diffstat (limited to 'ui/app/components/customize-gas-modal/index.js')
-rw-r--r--ui/app/components/customize-gas-modal/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js
index 34a93d6c6..2bac57253 100644
--- a/ui/app/components/customize-gas-modal/index.js
+++ b/ui/app/components/customize-gas-modal/index.js
@@ -117,9 +117,9 @@ CustomizeGasModal.prototype.save = function (gasPrice, gasLimit, gasTotal) {
updateSendAmount(maxAmount)
}
- updateGasPrice(gasPrice)
- updateGasLimit(gasLimit)
- updateGasTotal(gasTotal)
+ updateGasPrice(ethUtil.addHexPrefix(gasPrice))
+ updateGasLimit(ethUtil.addHexPrefix(gasLimit))
+ updateGasTotal(ethUtil.addHexPrefix(gasTotal))
hideModal()
}