add comment

pull/5370/head
yann300 5 years ago
parent ce8fc68bae
commit e5efe3517f
  1. 1
      src/app/tabs/runTab/contractDropdown.js
  2. 1
      src/app/tabs/runTab/recorder.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)

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

Loading…
Cancel
Save