From 9373c77f670c715b2dbea9f1bd5e8ab8883c5b5f Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 26 Feb 2018 10:26:57 +0100 Subject: [PATCH] fix callback param --- src/app/execution/confirmDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/execution/confirmDialog.js b/src/app/execution/confirmDialog.js index 60654b8092..1481018a7d 100644 --- a/src/app/execution/confirmDialog.js +++ b/src/app/execution/confirmDialog.js @@ -20,7 +20,7 @@ var css = csjs` function confirmDialog (tx, amount, gasEstimation, self, newGasPriceCb, initialParamsCb) { var onGasPriceChange = function () { var gasPrice = el.querySelector('#gasprice').value - newGasPriceCb(gasPrice, (priceStatus, txFeeText) => { + newGasPriceCb(gasPrice, (txFeeText, priceStatus) => { el.querySelector('#txfee').innerHTML = txFeeText el.gasPriceStatus = priceStatus })