pull/1/head
yann300 7 years ago
parent 45a16ef79a
commit 3407bd7967
  1. 2
      src/app/tabs/compile-tab.js
  2. 4
      src/app/tabs/run-tab.js

@ -436,7 +436,7 @@ function compileTab (container, appAPI, appEvents, opts) {
} else {
alert('Metadata published successfully. You\'l find the Swarm address in the Contract details.')
}
})
})
}
}
}

@ -297,11 +297,11 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
var contracts = appAPI.getContracts()
var contractName = contractNames.children[contractNames.selectedIndex].innerHTML
var contract = appAPI.getContracts()[contractName]
if (contract.bytecode.length === 0) {
modalDialogCustom.alert('This contract does not implement all functions and thus cannot be created.')
return
}
}
var constructor = txHelper.getConstructorInterface(contract.interface)
var args = createButtonInput.value

Loading…
Cancel
Save