diff --git a/src/app/tabs/runTab/contractDropdown.js b/src/app/tabs/runTab/contractDropdown.js index 346357e864..9920a680b9 100644 --- a/src/app/tabs/runTab/contractDropdown.js +++ b/src/app/tabs/runTab/contractDropdown.js @@ -205,6 +205,7 @@ class ContractDropdownUI { } getConfirmationCb (modalDialog, confirmDialog) { + // this code is the same as in recorder.js. TODO need to be refactored out const confirmationCb = (network, tx, gasEstimation, continueTxExecution, cancelCb) => { if (network.name !== 'Main') { return continueTxExecution(null) diff --git a/src/app/tabs/runTab/recorder.js b/src/app/tabs/runTab/recorder.js index ade46d336c..60495c6345 100644 --- a/src/app/tabs/runTab/recorder.js +++ b/src/app/tabs/runTab/recorder.js @@ -78,6 +78,7 @@ class RecorderUI { } getConfirmationCb (modalDialog, confirmDialog) { + // this code is the same as in contractDropdown.js. TODO need to be refactored out const confirmationCb = (network, tx, gasEstimation, continueTxExecution, cancelCb) => { if (network.name !== 'Main') { return continueTxExecution(null)