From 296c28cb354fa1f369793fbb1e43ae1b47716c51 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 8 Jan 2019 17:54:34 +0100 Subject: [PATCH] add missing callback --- src/app/tabs/runTab/model/dropdownlogic.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/tabs/runTab/model/dropdownlogic.js b/src/app/tabs/runTab/model/dropdownlogic.js index 112d6ede96..f05b5a9ef8 100644 --- a/src/app/tabs/runTab/model/dropdownlogic.js +++ b/src/app/tabs/runTab/model/dropdownlogic.js @@ -205,7 +205,7 @@ class DropdownLogic { ) } - runTransaction (data, promptCb, modalDialog, confirmDialog, finalCb) { + runTransaction (data, continueCb, promptCb, modalDialog, confirmDialog, finalCb) { var confirmationCb = (network, tx, gasEstimation, continueTxExecution, cancelCb) => { if (network.name !== 'Main') { return continueTxExecution(null) @@ -261,7 +261,7 @@ class DropdownLogic { ) } - this.udapp.runTx(data, confirmationCb, promptCb, finalCb) + this.udapp.runTx(data, confirmationCb, continueCb, promptCb, finalCb) } forceSend (selectedContract, args, continueCb, promptCb, modalDialog, confirmDialog, statusCb, cb) { @@ -277,7 +277,7 @@ class DropdownLogic { this.createContract(selectedContract, data, continueCb, promptCb, modalDialog, confirmDialog, cb) }, statusCb, (data, runTxCallback) => { // called for libraries deployment - this.runTransaction(data, promptCb, modalDialog, confirmDialog, runTxCallback) + this.runTransaction(data, continueCb, promptCb, modalDialog, confirmDialog, runTxCallback) }) } if (Object.keys(selectedContract.bytecodeLinkReferences).length) statusCb(`linking ${JSON.stringify(selectedContract.bytecodeLinkReferences, null, '\t')} using ${JSON.stringify(contractMetadata.linkReferences, null, '\t')}`)