fix callback param

pull/1/head
yann300 7 years ago
parent 25da239ab5
commit 49e1ea12e2
  1. 2
      src/app/execution/confirmDialog.js

@ -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
}) })

Loading…
Cancel
Save