run-tab - not working right yet

pull/1/head
Rob Stupay 7 years ago
parent 4f02283635
commit 2cb7b97546
  1. 3
      src/app/tabs/run-tab.js

@ -301,7 +301,8 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
var args = createButtonInput.value var args = createButtonInput.value
txFormat.buildData(contract, contracts, true, constructor, args, appAPI.udapp(), (error, data) => { txFormat.buildData(contract, contracts, true, constructor, args, appAPI.udapp(), (error, data) => {
if (!error) { if (!error) {
appAPI.logMessage('transaction added ...') console.log(`${JSON.parse(JSON.stringify(contract.metadata, null, 4))}`)
appAPI.logMessage(`B creation of ${contract} pending`)
txExecution.createContract(data, appAPI.udapp(), (error, txResult) => { txExecution.createContract(data, appAPI.udapp(), (error, txResult) => {
if (!error) { if (!error) {
var isVM = executionContext.isVM() var isVM = executionContext.isVM()

Loading…
Cancel
Save