|
|
@ -20,7 +20,7 @@ var css = csjs` |
|
|
|
function confirmDialog (tx, amount, gasEstimation, self, newGasPriceCb, initialParamsCb) { |
|
|
|
function confirmDialog (tx, amount, gasEstimation, self, newGasPriceCb, initialParamsCb) { |
|
|
|
var onGasPriceChange = function () { |
|
|
|
var onGasPriceChange = function () { |
|
|
|
var gasPrice = el.querySelector('#gasprice').value |
|
|
|
var gasPrice = el.querySelector('#gasprice').value |
|
|
|
newGasPriceCb(gasPrice, (priceStatus, txFeeText) => { |
|
|
|
newGasPriceCb(gasPrice, (txFeeText, priceStatus) => { |
|
|
|
el.querySelector('#txfee').innerHTML = txFeeText |
|
|
|
el.querySelector('#txfee').innerHTML = txFeeText |
|
|
|
el.gasPriceStatus = priceStatus |
|
|
|
el.gasPriceStatus = priceStatus |
|
|
|
}) |
|
|
|
}) |
|
|
|