sucessful update for tx log

pull/1/head
Rob Stupay 7 years ago
parent 7fc2e68166
commit dc1ff9429a
  1. 5
      src/app/tabs/run-tab.js

@ -293,7 +293,7 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
// ADD BUTTONS AT ADDRESS AND CREATE
function createInstance () {
appAPI.logMessage('transaction added ...')
// appAPI.logMessage('transaction added ...')
var contractNames = document.querySelector(`.${css.contractNames.classNames[0]}`)
var contracts = appAPI.getContracts()
var contract = appAPI.getContracts()[contractNames.children[contractNames.selectedIndex].innerHTML]
@ -301,7 +301,7 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
var args = createButtonInput.value
txFormat.buildData(contract, contracts, true, constructor, args, appAPI.udapp(), (error, data) => {
if (!error) {
// appAPI.logMessage('transaction added ...')
appAPI.logMessage('transaction added ...')
txExecution.createContract(data, appAPI.udapp(), (error, txResult) => {
if (!error) {
var isVM = executionContext.isVM()
@ -323,7 +323,6 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
modalDialogCustom.alert(error)
}
})
// appAPI.logMessage('transaction added ...')
}
function loadFromAddress (appAPI) {

Loading…
Cancel
Save