add comment

pull/1/head
yann300 5 years ago
parent 36f7ac19f7
commit 8f6b6e8b24
  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