Commit dc1ff942 authored by Rob Stupay's avatar Rob Stupay

sucessful update for tx log

parent 7fc2e681
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment